diff --git a/gosa-core/include/class_ldapMultiplexer.inc b/gosa-core/include/class_ldapMultiplexer.inc
index 8940952e10aac1349dc1b3a8eaa78fe82c3faa8b..fbd6d91b47d47168cfb579ecd57596f8ebde0b66 100644 (file)
/* Internal stuff */
protected $object;
/* Internal stuff */
protected $object;
- /* Caching switch - not implemented right now */
- protected $use_cache= false;
-
/* Result resource */
protected $sr;
/* Result resource */
protected $sr;
}
public function __call($methodName, $parameters) {
}
public function __call($methodName, $parameters) {
- $id = md5($methodName.serialize($parameters));
-
/* Add resource pointer if the mentioned methods are used */
/* Add resource pointer if the mentioned methods are used */
- if (preg_match('/^(search|ls|cat|fetch|clearResult|resetResult|count|getDN|recursive_remove|rmdir_recursive|gen_xls|gen_ldif|create_missing_trees|import_single_entry|import_complete_ldif)$/', $methodName)){
+ if (preg_match('/^(search|ls|cat|fetch|clearResult|resetResult|count|getDN|recursive_remove|rmdir_recursive|gen_xls|create_missing_trees|import_single_entry|import_complete_ldif)$/', $methodName)){
array_unshift($parameters, $this->sr);
}
array_unshift($parameters, $this->sr);
}
- try {
- $class= new ReflectionClass($this->object);
- $method= $class->getMethod($methodName);
+ $class= new ReflectionClass($this->object);
+ $method= $class->getMethod($methodName);
- return $method->invokeArgs($this->object, $parameters);
- }
-
- catch (ReflectionException $e) {
- }
+ return $method->invokeArgs($this->object, $parameters);
}
public function __get($memberName) {
}
public function __get($memberName) {
- echo "Obsolete access to member variable '$memberName'!<br>";
return $this->object->$memberName;
}
return $this->object->$memberName;
}