340 {
342 if (is_object(self::$_PHPCAS_CLIENT)) {
343 phpCAS :: error(self::$_PHPCAS_INIT_CALL[
'method'] .
'() has already been called (at ' . self::$_PHPCAS_INIT_CALL[
'file'] .
':' . self::$_PHPCAS_INIT_CALL[
'line'] .
')');
344 }
345
346
347 $dbg = debug_backtrace();
348 self::$_PHPCAS_INIT_CALL = array (
349 'done' => true,
350 'file' => $dbg[0]['file'],
351 'line' => $dbg[0]['line'],
352 'method' => __CLASS__ . '::' . __FUNCTION__
353 );
354
355
356 try {
358 $server_version, false, $server_hostname, $server_port, $server_uri,
359 $changeSessionID
360 );
361 } catch (Exception $e) {
363 }
365 }
The CAS_Client class is a client interface that provides CAS authentication to PHP applications.
static traceEnd($res='')
This method is used to indicate the end of the execution of a function in debug mode.
static traceBegin()
This method is used to indicate the start of the execution of a function in debug mode.
static error($msg)
This method is used by interface methods to print an error and where the function was originally call...