Add new constant for batch fetching
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 15:04:30 +0000 (16:04 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 15:04:30 +0000 (16:04 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/profile.php

index f55b0a2..0d380fa 100644 (file)
@@ -91,8 +91,9 @@ class Profile
     const FETCH_PHONES       = 0x000040;
     const FETCH_PHOTO        = 0x000080;
 
-    // xor of all FETCH_XYZ
-    const FETCH_ALL          = 0x0000FF;
+    const FETCH_MINIFICHES   = 0x0000CD; // FETCH_ADDRESSES & FETCH_EDU & FETCH_JOBS & FETCH_PHONES & FETCH_PHOTO
+
+    const FETCH_ALL          = 0x0000FF; // xor of all FETCH_*
 
     private $pid;
     private $hrpid;