61 $this->
object = $object;
64 $this->sr = $this->
object->getSearchResource();
74 public function __call ($methodName, $parameters)
77 if (in_array($methodName, [
'search',
'ls',
'cat',
'fetch',
'clearResult',
'resetResult',
'count',
'getDN',
'rmdir_recursive',
'create_missing_trees',
'import_single_entry',
'import_complete_ldif',
'parse_result'])) {
78 array_unshift($parameters, $this->sr);
81 return call_user_func_array([$this->
object, $methodName], $parameters);
89 public function __get ($memberName)
91 return $this->
object->$memberName;
__call($methodName, $parameters)
Call a ldap method with his parameters.
__construct(&$object)
LADP multiplexer constructor.