PHP Class IMP_Remote_Account, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements Serializable
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_config array Configuration.

Méthodes publiques

Méthode Description
__construct ( )
__get ( $name )
__set ( $name, $value )
__toString ( ) : string String representation of object.
login ( string $password = null, boolean $save = false ) : integer Attempt to login to remote account.
mailbox ( string $id ) : string Return mailbox name.
serialize ( )
unserialize ( $data )

Method Details

__construct() public méthode

public __construct ( )

__get() public méthode

public __get ( $name )

__set() public méthode

public __set ( $name, $value )

__toString() public méthode

String representation of object.
public __toString ( ) : string
Résultat string The identifier (mailbox) ID.

login() public méthode

Attempt to login to remote account.
public login ( string $password = null, boolean $save = false ) : integer
$password string The password to use. If null, attempts to use the encrypted password stored in the config.
$save boolean If true, save the password (encrypted) to the config.
Résultat integer One of the LOGIN_* constants.

mailbox() public méthode

Return mailbox name.
public mailbox ( string $id ) : string
$id string Base IMAP name.
Résultat string IMP mailbox name.

serialize() public méthode

public serialize ( )

unserialize() public méthode

public unserialize ( $data )

Property Details

$_config protected_oe property

Configuration.
protected array $_config
Résultat array