__construct() public méthode

public __construct ( $url = NULL, $passiveMode = TRUE )
Exemple #1
0
 /**
  * __construct
  * @param mixed $id
  * @param string $table
  * @param string $ds
  */
 public function __construct($id = null, $table = null, $ds = null)
 {
     ConnectionManager::create($this->useDbConfig, array('datasource' => 'Ftp.FtpTestSource', 'host' => 'localhost', 'username' => 'user', 'password' => '1234', 'type' => 'ftp', 'cache' => false));
     parent::__construct($id, $table, $ds);
 }