before() 공개 메소드

public before ( )
예제 #1
0
파일: blog.php 프로젝트: kerkness/shindig
 public function before()
 {
     if ($this->request->param('slug') and $this->request->action != 'page') {
         $this->request->action = 'post';
     }
     parent::before();
 }