351 {
353 if (is_object(self::$_PHPCAS_CLIENT)) {
354 phpCAS :: error(self::$_PHPCAS_INIT_CALL[
'method'] .
'() has already been called (at ' . self::$_PHPCAS_INIT_CALL[
'file'] .
':' . self::$_PHPCAS_INIT_CALL[
'line'] .
')');
355 }
356
357
358 $dbg = debug_backtrace();
359 self::$_PHPCAS_INIT_CALL = array(
360 'done' => true,
361 'file' => $dbg[0]['file'],
362 'line' => $dbg[0]['line'],
363 'method' => __CLASS__ . '::' . __FUNCTION__
364 );
365
366
367 try {
369 $server_version,
370 false,
371 $server_hostname,
372 $server_port,
373 $server_uri,
374 $changeSessionID
375 );
376 } catch (Exception $e) {
378 }
380 }
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...