Beispiel #1
0
 public function saveRead(PostModel $model)
 {
     if ($model->getId()) {
         $this->db()->update('forum_posts')->values(array('read' => $model->getRead()))->where(array('id' => $model->getId()))->execute();
     }
 }