|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($username=null, $password=null, $realm=null) | |
| setPassword ($password=null) | |
| getPassword () | |
| setUsername ($username=null) | |
| getUsername ($withRealm=false) | |
| setRealm ($realm=null) | |
| getRealm () | |
Protected Attributes | |
| $_username = null | |
| $_password = null | |
| $_realm = 't-online.de' | |
Definition at line 31 of file Credential.php.
| __construct | ( | $ | username = null, |
| $ | password = null, |
||
| $ | realm = null |
||
| ) |
constructor to init the internal data
| string | $username | |
| string | $password | |
| string | $realm |
Definition at line 62 of file Credential.php.

| getPassword | ( | ) |
returns the current configured password
Definition at line 103 of file Credential.php.
| getRealm | ( | ) |
| getUsername | ( | $ | withRealm = false | ) |
returns the username
if $withRealm == true we combine username and realm like username
| $boolean | withRealm |
Definition at line 140 of file Credential.php.
| setPassword | ( | $ | password = null | ) |
split the password into an array
| string | $password |
| Zend_Service_DeveloperGarden_Client_Exception |
Definition at line 82 of file Credential.php.

| setRealm | ( | $ | realm = null | ) |
set the new realm
| string | $realm |
| Zend_Service_DeveloperGarden_Client_Exception |
Definition at line 160 of file Credential.php.

| setUsername | ( | $ | username = null | ) |
set the new login
| string | $username |
| Zend_Service_DeveloperGarden_Client_Exception |
Definition at line 115 of file Credential.php.

$_password = null [protected] |
Definition at line 45 of file Credential.php.
$_realm = 't-online.de' [protected] |
Definition at line 52 of file Credential.php.
$_username = null [protected] |
Definition at line 38 of file Credential.php.