/** * constructor * @param \Nette\Database\Context $database * @param int $id * @return void */ public function __construct(\Nette\Database\Context $database, $config) { parent::__construct($database, $config); $this->setTable($this->config["table"]); $this->defaultValues = $this->config["default"]; return; }
protected function __construct($group, $key, $allowed) { parent::__construct(); $this->groupID = $group; $this->keyID = $key; $this->allowed = $allowed; }
public function __construct($title = null, $author = null, $text = null, $language = null, $datePosted = null) { parent::__construct(); $this->title = $title; $this->authorID = $author; $this->text = $text; $this->language = $language; $this->datePosted = $datePosted; }
/** * constructor * @param \Nette\Database\Context $database * @param int $id * @return void */ public function __construct(\Nette\Database\Context $database, $config) { parent::__construct($database, $config); $this->setTable($config["table"]); if (is_array($this->config["default"])) { foreach ($this->config["default"] as $default) { $this->defaultValues = $default . "\n"; } } return; }
public function __construct() { parent::__construct(); }
public function __construct($username = null, $email = null) { parent::__construct(); $this->username = $username; $this->email = $email; }
/** * constructor * @param \Nette\Database\Context $database * @param int $id * @return void */ public function __construct(\Nette\Database\Context $database, $config) { parent::__construct($database, $config); $this->setTable($this->config["tableName"]); return; }
public function __construct(&$db) { parent::__construct($db); }
/** * constructor * @param \Nette\Database\Context $db * @param type $config * @return void */ public function __construct(\Nette\Database\Context $db, $config = array()) { parent::__construct($db, $config); return; }
public function __construct() { $this->_table = 'card'; parent::__construct(); }
public function __construct($name = null, $description = null, $email = null) { parent::__construct(); $this->name = $name; $this->description = $description; $this->email = $email; }
public function __construct($userID = null, $groupID = null) { parent::__construct(); $this->userID = $userID; $this->groupID = $groupID; }
public function __construct($name = null) { parent::__construct(); $this->name = $name; }