PHP Class IMP_Remote_Account, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements Serializable
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_config array Configuration.

Public Methods

Method 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 method

public __construct ( )

__get() public method

public __get ( $name )

__set() public method

public __set ( $name, $value )

__toString() public method

String representation of object.
public __toString ( ) : string
return string The identifier (mailbox) ID.

login() public method

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.
return integer One of the LOGIN_* constants.

mailbox() public method

Return mailbox name.
public mailbox ( string $id ) : string
$id string Base IMAP name.
return string IMP mailbox name.

serialize() public method

public serialize ( )

unserialize() public method

public unserialize ( $data )

Property Details

$_config protected property

Configuration.
protected array $_config
return array