Copyright 2008-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.
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: implements Horde_Kolab_Server_Connection_Interface
Ejemplo n.º 1
0
Archivo: File.php Proyecto: horde/horde
 /**
  * Set configuration parameters.
  *
  * @param array $params The parameters.
  *
  * @return NULL
  */
 public function setParams(array $params)
 {
     if (isset($params['file'])) {
         $this->_file = $params['file'];
     }
     parent::setParams($params);
 }
Ejemplo n.º 2
0
 public function testMethodGetwriteHasResultMockldapTheHandledConnection()
 {
     $ldap = $this->getMock('Horde_Kolab_Server_Connection_Mock_Ldap', array(), array(), '', false, false);
     $conn = new Horde_Kolab_Server_Connection_Mock($ldap);
     $this->assertSame($conn->getWrite(), $conn->getRead());
 }