Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_DeveloperGarden_Credential Class Reference

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'

Detailed Description

Definition at line 31 of file Credential.php.


Constructor & Destructor Documentation

__construct ( username = null,
password = null,
realm = null 
)

constructor to init the internal data

Parameters:
string$username
string$password
string$realm
Returns:
Zend_Service_DeveloperGarden_Credential

Definition at line 62 of file Credential.php.

Here is the call graph for this function:


Member Function Documentation

returns the current configured password

Returns:
string

Definition at line 103 of file Credential.php.

getRealm ( )

returns the realm

Returns:
string|null

Definition at line 181 of file Credential.php.

getUsername ( withRealm = false)

returns the username

if $withRealm == true we combine username and realm like username

Parameters:
$booleanwithRealm
Returns:
string|null

Definition at line 140 of file Credential.php.

setPassword ( password = null)

split the password into an array

Parameters:
string$password
Exceptions:
Zend_Service_DeveloperGarden_Client_Exception
Returns:
Zend_Service_DeveloperGarden_Client_ClientAbstract

Definition at line 82 of file Credential.php.

Here is the caller graph for this function:

setRealm ( realm = null)

set the new realm

Parameters:
string$realm
Exceptions:
Zend_Service_DeveloperGarden_Client_Exception
Returns:
Zend_Service_DeveloperGarden_Client_ClientAbstract

Definition at line 160 of file Credential.php.

Here is the caller graph for this function:

setUsername ( username = null)

set the new login

Parameters:
string$username
Exceptions:
Zend_Service_DeveloperGarden_Client_Exception
Returns:
Zend_Service_DeveloperGarden_Client_ClientAbstract

Definition at line 115 of file Credential.php.

Here is the caller graph for this function:


Field Documentation

$_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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations