LSldapObject : added parameter to getSelectArray-) method
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 15 Nov 2013 17:57:52 +0000 (18:57 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 15 Nov 2013 17:57:52 +0000 (18:57 +0100)
public_html/includes/class/class.LSldapObject.php

index 4364942..2e1b77f 100644 (file)
@@ -930,8 +930,8 @@ class LSldapObject {
    *
    * @retval array('dn' => 'display')
    */
-  function getSelectArray($pattern=NULL,$topDn=NULL,$displayFormat=NULL,$approx=false,$cache=true) {
-    return $this -> listObjectsName(NULL,$topDn,array('pattern' => $pattern),$displayFormat,$cache);
+  function getSelectArray($pattern=NULL,$topDn=NULL,$displayFormat=NULL,$approx=false,$cache=true,$filter=NULL) {
+    return $this -> listObjectsName($filter,$topDn,array('pattern' => $pattern),$displayFormat,$cache);
   }
 
   /**