/** The constructor of the class. */ function __construct(knj_gallery_group $knj_gallery_group, $id, $data = null) { $this->knj_gallery_group = $knj_gallery_group; $this->knj_gallery = $knj_gallery_group->getKNJGallery(); $this->dbconn = $this->knj_gallery->getDBConn(); parent::__construct($this->dbconn, "pictures", $id, $data); }
/** The constructor. */ function __construct($knjgallery, $id, $data = null) { $this->knj_gallery = $knjgallery; $this->dbconn = $knjgallery->getDBConn(); parent::__construct($this->dbconn, "views", $id, $data); if ($this->get("active") != "yes") { $this->reloadPics(); } }
function __construct($args = array()){ parent::__construct(array( "db" => $args["db"], "data" => $args["data"], "table" => "translations" )); $this->ob = $args["ob"]; if (!$this->ob){ throw new exception("No ob was given."); } }
/** The constructor. */ function __construct($knj_gallery, $id, $data = null) { $this->knj_gallery = $knj_gallery; $this->dbconn = $knj_gallery->getDBConn(); parent::__construct($this->dbconn, "persons", $id, $data); }
function __construct($id, $data){ parent::__construct(gDB(), "folders", $id, $data); }