Exemple #1
0
 public function _remap($action = null)
 {
     $this->getAccessItems();
     switch ($action) {
         case 'create':
             $this->create();
             break;
         case 'update':
             $this->update();
             break;
         case 'index':
             parent::index();
             break;
         default:
             $this->edit($action);
             break;
     }
 }