コード例 #1
0
ファイル: Aro.php プロジェクト: BackupTheBerlios/umlrecord
 protected function _getValidAco(Zend_Acl $aco, $context)
 {
     foreach ($aco->getChildren() as $node) {
         if (!$this->canAccess($node, $context)) {
             $aco->remove($node->getPath());
         }
     }
     return $aco;
 }