function __construct($db_table, $request, $columns, $field = 'id', $order_field = '', $map_filed = '', $orderCondition = '', $insert_page = true, $withscript = 'true') { parent::__construct(); $this->db_table = $db_table; $this->request = $request; $this->columns = $columns; $this->field = $field; $this->order_field = $order_field; $this->map_field = $map_filed; $this->orderCondition = $orderCondition; $this->withAlert = $withscript; $this->insertPage = $insert_page; if ($this->withAlert == true) { echo '<script> waitingDialog.show("Working", {dialogSize: "md", progressType: "danger"}); </script>'; } if ($this->request['action'] == 'Insert') { return $this->_new(); } elseif ($this->request['action'] == 'Edit') { return $this->_update(); } elseif ($this->request['action'] == 'Delete') { return $this->_Delete(); } }
function __construct() { parent::__construct(); $this->SetTextareaCols(); $this->SetTextareaRows(); }
function __construct() { parent::__construct(); }