|
Moodle
2.2.1
http://www.collinsharper.com
|
|
Enumerations | |
| enum | PHPCAS_SERVICE_OK |
| enum | PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE |
| enum | PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE |
| enum | PHPCAS_SERVICE_PT_FAILURE |
| enum | AVAILABLE |
Functions | |
| serviceWeb ($url, &$err_code, &$output) | |
| serviceMail ($url, $service, $flags, &$err_code, &$err_msg, &$pt) | |
| enum AVAILABLE |
| enum PHPCAS_SERVICE_OK |
| serviceMail | ( | $ | url, |
| $ | service, | ||
| $ | flags, | ||
| &$ | err_code, | ||
| &$ | err_msg, | ||
| &$ | pt | ||
| ) |
This method is used to access an IMAP/POP3/NNTP service.
| $url | a string giving the URL of the service, including the mailing box for IMAP URLs, as accepted by imap_open(). |
| $service | a string giving for CAS retrieve Proxy ticket |
| $flags | options given to imap_open(). |
| $err_code | an error code Possible values are PHPCAS_SERVICE_OK (on success), PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE, PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_NOT AVAILABLE. |
| $err_msg | an error message on failure |
| $pt | the Proxy Ticket (PT) retrieved from the CAS server to access the URL on success, FALSE on error). |
Definition at line 795 of file CAS.php.

| serviceWeb | ( | $ | url, |
| &$ | err_code, | ||
| &$ | output | ||
| ) |
This method is used to access an HTTP[S] service.
| $url | the service to access. |
| $err_code | an error code Possible values are PHPCAS_SERVICE_OK (on success), PHPCAS_SERVICE_PT_NO_SERVER_RESPONSE, PHPCAS_SERVICE_PT_BAD_SERVER_RESPONSE, PHPCAS_SERVICE_PT_FAILURE, PHPCAS_SERVICE_NOT AVAILABLE. |
| $output | the output of the service (also used to give an error message on failure). |
Definition at line 752 of file CAS.php.
