Example #1
0
 /**
  * Delete list of rows which consists parameters from $arg.
  * @param array $arg
  * @return int
  */
 public function DeleteList($arg = array())
 {
     $this->params = $arg;
     $result = 0;
     if ($this->_validate_select()) {
         $this->_before_delete();
         $result = $this->table->DeleteList($this->params);
         $this->_on_delete();
     }
     return $result;
 }