Class (%s): Method doesnt exist (%s,%s)
',$class,get_class($this),$call);
$class = get_parent_class($class);
$call = "$method$fnct$class";
array_push($methods,$call);
}
if (defined('DEBUGTMP') && DEBUGTMP)
printf('Calling Methods: %s
',implode('|',$methods));
if (defined('DEBUGTMP') && DEBUGTMP && method_exists($this,$call))
printf('Method Exists: %s::%s (%s)
',get_class($this),$call,$args);
if (method_exists($this,$call)) {
$call .= '(';
for ($i = 0; $i < count($args); $i++)
if ($i == 0)
$call .= sprintf('$args[%s]',$i);
else
$call .= sprintf(',$args[%s]',$i);
$call .= ');';
if (defined('DEBUGTMP') && DEBUGTMP)
printf('Invoking Method: $this->%s
',$call);
eval('$r = $this->'.$call);
if (isset($r))
return $r;
else
return;
} elseif (DEBUG_ENABLED) {
debug_log('Doesnt exist param (%s,%s)',1,__FILE__,__LINE__,__METHOD__,$method,$fnct);
}
printf('NO Methods: %s
',implode('|',$methods));
}
/**
* Return the LDAP server ID
*
* @return int Server ID
*/
public function getServerID() {
if (isset($this->server_id))
return $this->server_id;
else
return null;
}
/**
* Return this LDAP Server object
*
* @return object DataStore Server
*/
protected function getServer() {
return $_SESSION[APPCONFIG]->getServer($this->getServerID());
}
}
?>