Example #1
0
 /**
  * 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;
 }
Example #2
0
	protected function __construct($group, $key, $allowed)
	{
		parent::__construct();
		$this->groupID = $group;
		$this->keyID = $key;
		$this->allowed = $allowed;
	}
Example #3
0
	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;
	}
Example #4
0
 /**
  * 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;
 }
Example #5
0
	public function __construct()
	{
		parent::__construct();
	}
Example #6
0
	public function __construct($username = null, $email = null)
	{
		parent::__construct();
		$this->username = $username;
		$this->email = $email;
	}
Example #7
0
 /**
  * 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;
 }
Example #8
0
 public function __construct(&$db)
 {
     parent::__construct($db);
 }
Example #9
0
 /**
  * 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;
 }
Example #10
0
 public function __construct()
 {
     $this->_table = 'card';
     parent::__construct();
 }
Example #11
0
	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;
	}
Example #13
0
	public function __construct($name = null)
	{
		parent::__construct();
		$this->name = $name;
	}