저자: Mike Cochrane (mike@graftonhall.co.nz)
저자: Jan Schneider (jan@horde.org)
예제 #1
0
파일: Ldap.php 프로젝트: jubinpatel/horde
 /**
  * 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));
 }
예제 #2
0
파일: Vfs.php 프로젝트: jubinpatel/horde
 /**
  * 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));
 }
예제 #3
0
파일: Null.php 프로젝트: jubinpatel/horde
 /**
  * Constructor.
  */
 public function __construct(array $params = array())
 {
     $this->_supportShares = true;
     parent::__construct($params);
 }
예제 #4
0
파일: Timsieved.php 프로젝트: horde/horde
 /**
  * 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));
 }
예제 #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));
 }