Beispiel #1
0
 public function __construct()
 {
     parent::__construct();
     $this->setMasterData($this->tbl, $this->fields, $this->prefix, $this->update_fields, $this->_uploadUrl);
     $this->setUserData();
     //var_dump($this->current_user);// $this->current_user;//die();
 }
Beispiel #2
0
 public function __construct()
 {
     //$this->db = new PDODatabase();
     parent::__construct();
     $this->setMasterData_v2($this->tbl, $this->fields, $this->prefix, $this->uploadUrl, $this->file_fields);
     $x = $this->getById(1);
     //$x=$this->getFieldValues();
     //var_dump($this->db);
     //$x = ($this->getData());
     //var_dump($x);
     if (empty($x)) {
         die('Application Error');
     }
 }
Beispiel #3
0
 /**
  * Basic Function to get value from get/post method in a recursive way along with array_walk
  * */
 public function __construct()
 {
     parent::__construct();
     $this->setMasterData($this->tbl, $this->fields, $this->prefix, $this->update_fields, $this->_uploadUrl, $this->file_fields);
 }