コード例 #1
0
 public function ignorelog($parameters = array())
 {
     $model = new mblogModel();
     $log = $model->getfromId($parameters['logid']);
     if (count($log) == 1) {
         $log = $log[0];
         $log->setStatusdelivery('MESSAGE_IGNORED');
         try {
             $model->save($log);
         } catch (Exception $e) {
         }
     }
     $this->response->redirect('?pageid=' . myauth::getCurrentpageid());
 }
コード例 #2
0
 protected function getClause($conditions)
 {
     $conditions = $this->filterconditions($conditions);
     return parent::getClause($conditions);
 }