public static function retrievePT($target_service, & $err_code, & $err_msg)
    {
        phpCAS::_validateProxyExists();

        try {
            return (self::$_PHPCAS_CLIENT->retrievePT($target_service, $err_code, $err_msg));
        } catch (Exception $e) {
            phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
        }
    }
public static function retrievePT($target_service, & $err_code, & $err_msg)
    {
        phpCAS::_validateProxyExists();

        try {
            return (self::$_PHPCAS_CLIENT->retrievePT($target_service, $err_code, $err_msg));
        } catch (Exception $e) {
            phpCAS :: error(get_class($e) . ': ' . $e->getMessage());
        }
    }
public static function retrievePT ( $ target_service , & $ err_code , & $ err_msg ) { phpCAS :: _validateProxyExists ( ) ; try { return ( self :: $ _PHPCAS_CLIENT -> retrievePT ( $ target_service , $ err_code , $ err_msg ) ) ; } catch ( Exception $ e ) { phpCAS :: error ( get_class ( $ e ) . ': ' . $ e -> getMessage ( ) ) ; } }
Retrieve a Proxy Ticket from the CAS server.

@param string $target_service Url string of service to proxy
@param string &$err_code      error code
@param string &$err_msg       error message

@return string Proxy Ticket
Retrieve a Proxy Ticket from the CAS server .