private static _validateProxyExists ( ) : void | ||
return | void |
private static function _validateProxyExists()
{
if (!is_object(self::$_PHPCAS_CLIENT)) {
throw new CAS_OutOfSequenceBeforeProxyException();
}
}
/** * Answer an array of proxies that are sitting in front of this application. * This method will only return a non-empty array if we have received and * validated a Proxy Ticket. * * @return array * @access public * @since 6/25/09 */ public static function getProxies() { phpCAS::_validateProxyExists(); return self::$_PHPCAS_CLIENT->getProxies(); }