本文整理汇总了PHP中BaseController::beforeRender方法的典型用法代码示例。如果您正苦于以下问题:PHP BaseController::beforeRender方法的具体用法?PHP BaseController::beforeRender怎么用?PHP BaseController::beforeRender使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseController
的用法示例。
在下文中一共展示了BaseController::beforeRender方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: beforeRender
public function beforeRender()
{
$this->set('pagetitle', 'モニター管理');
$this->set('pagecomment', 'モニター情報の登録・編集を行います');
$this->set('tinymce', 1);
$this->set('Gender', $this->Genre->getGender());
$this->set('Pref', $this->Genre->getPref());
$this->set('Job', $this->Genre->getJob());
$this->set('Skin', $this->Genre->getSkin());
// $this->set('Age',$this->Genre->getAgeRange());
// var_dump($this->Genre->getYearRange());
$this->set('Year', $this->Genre->getYearRange());
$this->set('Month', $this->Genre->getMonthRange());
$this->set('Day', $this->Genre->getDayRange());
parent::beforeRender();
}
示例2: beforeRender
public function beforeRender()
{
$this->set('pagetitle', 'レビュー管理');
$this->set('pagecomment', '商品の登録・編集を行います');
parent::beforeRender();
}
示例3: beforeRender
public function beforeRender()
{
parent::beforeRender();
$this->set('pagetitle', 'マスタ管理');
$this->set('pagecomment', 'マスタ情報の・編集を行います');
}
示例4: beforeRender
public function beforeRender()
{
parent::beforeRender();
$this->data["logout_path"] = $this->getActionUrl("logout");
$selectedTableNames = $this->getSelectedTableNames();
$this->data["nav"] = array("database" => array("path" => $this->getActionUrl("database"), "disabled" => false, "valid" => $this->db()->isConnectable()), "tables" => array("path" => $this->getActionUrl("tables"), "disabled" => !$this->db()->isConnectable(), "count" => count($this->getSelectedTableNames())), "change" => array("path" => $this->getActionUrl("changeSetup"), "disabled" => empty($selectedTableNames)));
}