/** * Constructor. * * @throws Ingo_Exception */ public function __construct(array $params = array()) { if (!Horde_Util::extensionExists('ldap')) { throw new Ingo_Exception(_("LDAP support is required but the LDAP module is not available or not loaded.")); } $default_params = array('hostspec' => 'localhost', 'port' => 389, 'script_attribute' => 'mailSieveRuleSource'); parent::__construct(array_merge($default_params, $params)); }
/** * Constructs a new VFS-based storage driver. * * @param array $params A hash containing driver parameters. */ public function __construct(array $params = array()) { $default_params = array('hostspec' => 'localhost', 'port' => 21, 'filename' => '.ingo_filter', 'vfstype' => 'ftp', 'vfs_path' => '', 'vfs_forward_path' => ''); $this->_supportShares = true; parent::__construct(array_merge($default_params, $params)); }
/** * Constructor. */ public function __construct(array $params = array()) { $this->_supportShares = true; parent::__construct($params); }
/** * Constructor. */ public function __construct(array $params = array()) { parent::__construct(array_merge(array('admin' => '', 'debug' => false, 'euser' => '', 'hostspec' => 'localhost', 'logintype' => 'PLAIN', 'port' => 4190, 'scriptname' => 'ingo', 'usetls' => true), $params)); }
/** * Constructor. */ public function __construct(array $params = array()) { $default_params = array('admin' => '', 'debug' => false, 'euser' => '', 'hostspec' => 'localhost', 'logintype' => 'PLAIN', 'port' => 4190, 'scriptname' => 'ingo', 'usetls' => true); $this->_supportShares = true; parent::__construct(array_merge($default_params, $params)); }