예제 #1
0
 public function edit($field)
 {
     // custom code
     $this->fielddata($field, "edittimestamp", time());
     return parent::edit($field);
 }
예제 #2
0
파일: contactform.php 프로젝트: azuya/Wi3
 public function before()
 {
     Wi3::inst()->acl->grant("*", $this, "submit");
     parent::before();
 }
예제 #3
0
 public function before()
 {
     Wi3::inst()->acl->grant("*", $this, "rssfeed");
     // Everybody can access rssfeed function in this controller
     parent::before();
 }