function __construct(array $params = null) { parent::__construct(); if (is_array($params)) { $this->setParameters($params); } }
function __construct($name = null, \DBAL\Data\Entity $entity = null) { $this->Name = $name; if (!is_null($entity)) { $this->setEntity($entity); } parent::__construct(); }
function __construct(Driver $driver, Configuration $config = null) { $this->_driver = $driver; if (is_null($config)) { $config = new Configuration(); } $this->_configuration = $config; $this->_name = $config['database']['name']; parent::__construct(); }
function getBase(&$result = null) { if (get_class() !== 'DataType') { if ($result == null) { $result = array(); } $result[] = $this->toBase(); return parent::getBase($result); } return $result; }
function __construct($username, $password) { $this->_username = $username; $this->_password = $password; parent::__construct(); }
function __construct(array $params = array()) { parent::__construct(); $this->setParameters($params); }
function __construct($version, $encoding = 'UTF-8') { parent::__construct(); $this->_version = $version; $this->_encoding = $encoding; }