public function __construct(array $params = array())
{
$this->_backend = $params['backend'];
$this->_baseob = $params['baseob'];
$this->_backend->setParams(array('hostspec' => $this->_baseob->getParam('hostspec'), 'port' => $this->_baseob->getParam('port'), 'username' => $this->_baseob->getParam('username')));
if (isset($params['debug']) && $params['debug'] instanceof Horde_Imap_Client_Base_Debug) {
$this->_debug = $params['debug'];
$this->_debug->info(sprintf('CACHE: Using the %s storage driver.', get_class($this->_backend)));
}
}