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(); }
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'); } }
/** * 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); }