Add the getFilter() function.
authorGunnar Wrobel <p@rdus.de>
Tue, 14 Apr 2009 17:08:42 +0000 (19:08 +0200)
committerGunnar Wrobel <p@rdus.de>
Tue, 14 Apr 2009 17:21:17 +0000 (19:21 +0200)
framework/Kolab_Server/lib/Horde/Kolab/Server/Object/Kolabinetorgperson.php

index 1945a4b..e47fca4 100644 (file)
@@ -200,6 +200,19 @@ class Horde_Kolab_Server_Object_Kolabinetorgperson extends Horde_Kolab_Server_Ob
     );
 
     /**
+     * Return the filter string to retrieve this object type.
+     *
+     * @static
+     *
+     * @return string The filter to retrieve this object type from the server
+     *                database.
+     */
+    public static function getFilter()
+    {
+        return '(&(' . self::ATTRIBUTE_OC . '=' . self::OBJECTCLASS_KOLABINETORGPERSON . '))';
+    }
+
+    /**
      * Returns the set of search operations supported by this object type.
      *
      * @return array An array of supported search operations.