components/AuthController.php
protected function getSubMenu()
    {
        return array(
            array(
                'label' => Yii::t('AuthModule.main', 'Assignments'),
                'url' => array('/auth/assignment/index'),
                'active' => $this instanceof AssignmentController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_ROLE, true)),
                'url' => array('/auth/role/index'),
                'active' => $this instanceof RoleController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_TASK, true)),
                'url' => array('/auth/task/index'),
                'active' => $this instanceof TaskController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_OPERATION, true)),
                'url' => array('/auth/operation/index'),
                'active' => $this instanceof OperationController,
            ),
        );
    }
protected function getSubMenu()
    {
        return array(
            array(
                'label' => Yii::t('AuthModule.main', 'Assignments'),
                'url' => array('/auth/assignment/index'),
                'active' => $this instanceof AssignmentController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_ROLE, true)),
                'url' => array('/auth/role/index'),
                'active' => $this instanceof RoleController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_TASK, true)),
                'url' => array('/auth/task/index'),
                'active' => $this instanceof TaskController,
            ),
            array(
                'label' => $this->capitalize($this->getItemTypeText(CAuthItem::TYPE_OPERATION, true)),
                'url' => array('/auth/operation/index'),
                'active' => $this instanceof OperationController,
            ),
        );
    }
protected function getSubMenu ( ) { return array ( array ( 'label' => Yii :: t ( 'AuthModule.main' , 'Assignments' ) , 'url' => array ( '/auth/assignment/index' ) , 'active' => $ this instanceof AssignmentController , ) , array ( 'label' => $ this -> capitalize ( $ this -> getItemTypeText ( CAuthItem :: TYPE_ROLE , true ) ) , 'url' => array ( '/auth/role/index' ) , 'active' => $ this instanceof RoleController , ) , array ( 'label' => $ this -> capitalize ( $ this -> getItemTypeText ( CAuthItem :: TYPE_TASK , true ) ) , 'url' => array ( '/auth/task/index' ) , 'active' => $ this instanceof TaskController , ) , array ( 'label' => $ this -> capitalize ( $ this -> getItemTypeText ( CAuthItem :: TYPE_OPERATION , true ) ) , 'url' => array ( '/auth/operation/index' ) , 'active' => $ this instanceof OperationController , ) , ) ; }
Returns the sub menu configuration.
@return array the configuration.
Returns the sub menu configuration .