Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

Debugging
[Implementation]


Functions

 phpCAS::backtrace ()
 phpCAS::log ($str)
 phpCAS::error ($msg)
 phpCAS::trace ($str)
 phpCAS::traceBegin ()
 phpCAS::traceEnd ($res='')
 phpCAS::traceExit ()

Function Documentation

phpCAS::backtrace  )  [inherited]
 

This method is a wrapper for debug_backtrace() that is not available in all PHP versions (>= 4.3.0 only)

Definition at line 409 of file CAS.php.

Referenced by phpCAS::checkAuthentication(), phpCAS::client(), phpCAS::error(), phpCAS::forceAuthentication(), phpCAS::trace(), phpCAS::traceBegin(), and phpCAS::traceEnd().

phpCAS::error msg  )  [private, inherited]
 

This method is used by interface methods to print an error and where the function was originally called from.

Parameters:
$msg the message to print

Definition at line 448 of file CAS.php.

References phpCAS::backtrace(), phpCAS::error(), phpCAS::trace(), and phpCAS::traceExit().

Referenced by phpCAS::authenticate(), phpCAS::checkAuthentication(), phpCAS::client(), phpCAS::error(), phpCAS::forceAuthentication(), phpCAS::getServerLoginURL(), phpCAS::getServerLogoutURL(), phpCAS::getServiceURL(), phpCAS::getUser(), phpCAS::isAuthenticated(), phpCAS::isSessionAuthenticated(), phpCAS::logout(), phpCAS::retrievePT(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setHTMLFooter(), phpCAS::setHTMLHeader(), phpCAS::setLang(), phpCAS::setPGTStorageDB(), phpCAS::setPGTStorageFile(), phpCAS::setServerLoginURL(), and phpCAS::setServerLogoutURL().

phpCAS::log str  )  [private, inherited]
 

Logs a string in debug mode.

Parameters:
$str the string to write

Definition at line 426 of file CAS.php.

References $PHPCAS_DEBUG, and phpCAS::log().

Referenced by phpCAS::log(), phpCAS::trace(), phpCAS::traceBegin(), phpCAS::traceEnd(), and phpCAS::traceExit().

phpCAS::trace str  )  [inherited]
 

This method is used to log something in debug mode.

Definition at line 474 of file CAS.php.

References phpCAS::backtrace(), phpCAS::log(), and phpCAS::trace().

Referenced by phpCAS::error(), phpCAS::forceAuthentication(), and phpCAS::trace().

phpCAS::traceBegin  )  [inherited]
 

This method is used to indicate the start of the execution of a function in debug mode.

Definition at line 483 of file CAS.php.

References $PHPCAS_DEBUG, phpCAS::backtrace(), and phpCAS::log().

Referenced by CASClient::authError(), CASClient::callback(), CASClient::CASClient(), CASClient::checkAuthentication(), phpCAS::checkAuthentication(), phpCAS::client(), CASClient::forceAuthentication(), phpCAS::forceAuthentication(), PGTStorageFile::getPGTIouFilename(), CASClient::getServerLoginURL(), CASClient::getURL(), PGTStorageFile::init(), PGTStorageDB::init(), CASClient::isAuthenticated(), CASClient::logout(), phpCAS::logout(), PGTStorage::PGTStorage(), PGTStorageDB::PGTStorageDB(), PGTStorageFile::PGTStorageFile(), PGTStorageFile::read(), CASClient::readURL(), CASClient::redirectToCas(), CASClient::retrievePT(), CASClient::serviceMail(), phpCAS::serviceMail(), CASClient::serviceWeb(), phpCAS::serviceWeb(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setPGTStorageDB(), phpCAS::setPGTStorageFile(), phpCAS::setServerLoginURL(), phpCAS::setServerLogoutURL(), CASClient::validatePGT(), CASClient::validatePT(), CASClient::validateST(), CASClient::wasPreviouslyAuthenticated(), and PGTStorageFile::write().

phpCAS::traceEnd res = ''  )  [inherited]
 

This method is used to indicate the end of the execution of a function in debug mode.

Parameters:
$res the result of the function

Definition at line 511 of file CAS.php.

References $PHPCAS_DEBUG, phpCAS::backtrace(), phpCAS::log(), and phpCAS::traceEnd().

Referenced by phpCAS::checkAuthentication(), phpCAS::client(), phpCAS::forceAuthentication(), phpCAS::logout(), phpCAS::serviceMail(), phpCAS::serviceWeb(), phpCAS::setFixedCallbackURL(), phpCAS::setFixedServiceURL(), phpCAS::setPGTStorageDB(), phpCAS::setPGTStorageFile(), phpCAS::setServerLoginURL(), phpCAS::setServerLogoutURL(), and phpCAS::traceEnd().

phpCAS::traceExit  )  [inherited]
 

This method is used to indicate the end of the execution of the program

Definition at line 525 of file CAS.php.

References $PHPCAS_DEBUG, and phpCAS::log().

Referenced by CASClient::authError(), CASClient::callback(), phpCAS::error(), CASClient::logout(), and CASClient::redirectToCas().


Generated on Thu Aug 17 02:03:22 2006 for phpCAS by doxygen 1.3.7