components/AuthBehavior.php
private function getItemPermissions($itemName)
    {
        $item = $this->owner->getAuthItem($itemName);
        return $item instanceof CAuthItem ? $this->getPermissions($item->getChildren()) : array();
    }
private function getItemPermissions($itemName)
    {
        $item = $this->owner->getAuthItem($itemName);
        return $item instanceof CAuthItem ? $this->getPermissions($item->getChildren()) : array();
    }
private function getItemPermissions ( $ itemName ) { $ item = $ this -> owner -> getAuthItem ( $ itemName ) ; return $ item instanceof CAuthItem ? $ this -> getPermissions ( $ item -> getChildren ( ) ) : array ( ) ; }
Builds the permissions for the given item.
@param string $itemName name of the item.
@return array the permissions.
Builds the permissions for the given item .