예제 #1
0
 public function update($id, $data)
 {
     $view = $this->get($id);
     $coder = new \Cms\Library\Helpers\Coder\ViewsCoder();
     $coder->deleteView($view);
     return parent::update($id, $data);
 }
예제 #2
0
 public function onDelete($public_view)
 {
     $coder = new \Cms\Library\Helpers\Coder\ViewsCoder();
     $coder->deleteView($public_view);
 }