예제 #1
0
 function Update()
 {
     if (count($this->params) == 0) {
         $this->params['num_rows'] = db_prepare_input($_POST['todays_orders_field_0']);
     }
     parent::Update();
 }
예제 #2
0
 function Update()
 {
     if (count($this->params) == 0) {
         $this->params['num_rows'] = db_prepare_input($_POST['todays_audit_log_num_rows']);
     }
     parent::Update();
 }
예제 #3
0
 function Update()
 {
     if (count($this->params) == 0) {
         $this->params['num_rows'] = db_prepare_input($_POST['open_inv_branch_field_0']);
     }
     parent::Update();
 }
예제 #4
0
 function Install($column_id = 1, $row_id = 0)
 {
     global $db;
     // fetch the pages params to copy to new install
     $result = $db->Execute("select params from " . TABLE_USERS_PROFILES . "\n\t  \t  where menu_id = '" . $this->menu_id . "' and dashboard_id = '" . $this->dashboard_id . "'");
     // just need one
     $this->default_params = unserialize($result->fields['params']);
     parent::Install($column_id, $row_id);
 }
예제 #5
0
 function Update()
 {
     if (count($this->params) == 0) {
         $this->params = array('num_rows' => db_prepare_input($_POST['so_status_field_0']), 'order' => db_prepare_input($_POST['so_status_field_1']), 'limit' => db_prepare_input($_POST['so_status_field_2']));
     }
     parent::Update();
 }