Boys.php 516 Bytes
<?php
use Action\WebAction;
use Index\HomeModel;
/**
 * 男首
 */
class BoysController extends WebAction
{

    public function indexAction()
    {
        $this->setWebNavHeader(\Index\HomeModel::COOKIE_NAME_BOYS);
        $data = array(
            'boysHomePage' => true,
            'footerTop'=> true,
            'boys' => \Index\HomeModel::getChannelResource(HomeModel::COOKIE_NAME_BOYS, HomeModel::CODE_BOYS_CHANNEL)
        );
        $this->_view->display('index', $data);
    }
    
}