Kids.php
471 Bytes
<?php
use Action\WebAction;
use Index\HomeModel;
/**
* 潮童首页
*/
class KidsController extends WebAction
{
public function indexAction()
{
$this->setWebNavHeader(HomeModel::COOKIE_NAME_KIDS);
$data = array(
'boysHomePage' => true,
'kids' => HomeModel::getChannelResource(HomeModel::COOKIE_NAME_KIDS, HomeModel::CODE_KIDS_CHANNEL)
);
$this->_view->display('index', $data);
}
}