Ejemplo n.º 1
0
 /** 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);
 }
Ejemplo n.º 2
0
 /** 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();
     }
 }
Ejemplo n.º 3
0
	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.");
		}
	}
Ejemplo n.º 4
0
 /** 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);
 }
Ejemplo n.º 5
0
		function __construct($id, $data){
			parent::__construct(gDB(), "folders", $id, $data);
		}