Author: Mike Cochrane (mike@graftonhall.co.nz)
Author: Jan Schneider (jan@horde.org)
Beispiel #1
0
 /**
  * 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));
 }
Beispiel #2
0
 /**
  * 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));
 }
Beispiel #3
0
 /**
  * Constructor.
  */
 public function __construct(array $params = array())
 {
     $this->_supportShares = true;
     parent::__construct($params);
 }
Beispiel #4
0
 /**
  * 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));
 }
Beispiel #5
0
 /**
  * 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));
 }