Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Service_DeveloperGarden_Credential Class Reference

Public Member Functions

 __construct ($username=null, $password=null, $realm=null)
 constructor to init the internal data
 
 setPassword ($password=null)
 split the password into an array
 
 getPassword ()
 returns the current configured password
 
 setUsername ($username=null)
 set the new login
 
 getUsername ($withRealm=false)
 returns the username
 
 setRealm ($realm=null)
 set the new realm
 
 getRealm ()
 returns the realm
 

Protected Attributes

 $_username = null
 
 $_password = null
 
 $_realm = 't-online.de'
 

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

Member Function Documentation

getPassword ( )

returns the current configured password

Returns
string
getRealm ( )

returns the realm

Returns
string|null
getUsername (   $withRealm = false)

returns the username

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

Parameters
bool$withRealm
Returns
string|null
setPassword (   $password = null)

split the password into an array

Parameters
string$password
Exceptions
Zend_Service_DeveloperGarden_Client_Exception
Returns
Zend_Service_DeveloperGarden_Client_ClientAbstract
setRealm (   $realm = null)
setUsername (   $username = null)

set the new login

Parameters
string$username
Exceptions
Zend_Service_DeveloperGarden_Client_Exception
Returns
Zend_Service_DeveloperGarden_Client_ClientAbstract

Member Data Documentation

$_password = null
protected
$_realm = 't-online.de'
protected
$_username = null
protected