Example #1
0
 public function edit($field)
 {
     // custom code
     $this->fielddata($field, "edittimestamp", time());
     return parent::edit($field);
 }
Example #2
0
 public function before()
 {
     Wi3::inst()->acl->grant("*", $this, "submit");
     parent::before();
 }
Example #3
0
 public function before()
 {
     Wi3::inst()->acl->grant("*", $this, "rssfeed");
     // Everybody can access rssfeed function in this controller
     parent::before();
 }