PHP Class Horde_Kolab_Session_Imap, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_Session_Abstract
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Kolab_Session_Factory_Imap $imap, array $params ) Constructor.
connect ( string $user_id = null, array $credentials = null ) : null Try to connect the session handler.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Session_Factory_Imap $imap, array $params )
$imap Horde_Kolab_Session_Factory_Imap The imap driver factory.
$params array Kolab configuration settings.

connect() public method

Try to connect the session handler.
public connect ( string $user_id = null, array $credentials = null ) : null
$user_id string The user ID to connect with.
$credentials array An array of login credentials. For Kolab, this must contain a "password" entry.
return null