LSldapObject : added parameter to getSelectArray-) method

This commit is contained in:
Benjamin Renard 2013-11-15 18:57:52 +01:00
parent 20f3fc18d8
commit cb395d74af

View 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);
}
/**