예제 #1
0
파일: Actions.php 프로젝트: ariol/adminshop
 public function render()
 {
     foreach ($this->_actions as $key => $cfg) {
         if (!ACL::is_route_allowed($cfg['route'])) {
             unset($this->_actions[$key]);
         }
     }
     return Ext::actions($this->_actions);
 }