本文整理匯總了PHP中ModuleAdminController::actionAdmin方法的典型用法代碼示例。如果您正苦於以下問題:PHP ModuleAdminController::actionAdmin方法的具體用法?PHP ModuleAdminController::actionAdmin怎麽用?PHP ModuleAdminController::actionAdmin使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ModuleAdminController
的用法示例。
在下文中一共展示了ModuleAdminController::actionAdmin方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: actionAdmin
public function actionAdmin()
{
$this->getMaxSorter();
$this->getMinSorter();
Yii::app()->user->setFlash('warning', Yii::t('module_lang', 'moduleAdminHelp', array('{link}' => CHtml::link(tc('Currency'), array('/currency/backend/main/admin')))));
parent::actionAdmin();
}
示例2: actionAdmin
public function actionAdmin()
{
$sql = 'SELECT reference_category_id, MAX(sorter) as sorter FROM {{apartment_reference_values}} GROUP BY reference_category_id';
$sorters = Yii::app()->db->createCommand($sql)->queryAll();
foreach ($sorters as $sorter) {
$this->maxSorters[$sorter['reference_category_id']] = $sorter['sorter'];
}
if (isset($_GET['ReferenceValues']['category_filter'])) {
$this->params['currentCategory'] = intval($_GET['ReferenceValues']['category_filter']);
} else {
$this->params['currentCategory'] = 0;
}
parent::actionAdmin();
}
示例3: actionAdmin
public function actionAdmin()
{
$this->getMaxSorter();
$this->getMinSorter();
parent::actionAdmin();
}
示例4: actionAdmin
public function actionAdmin()
{
parent::actionAdmin();
}
示例5: actionAdmin
public function actionAdmin()
{
$this->scenario = 'create';
$this->params['position'] = Yii::app()->request->getParam('position', 1);
parent::actionAdmin();
}
示例6: actionAdmin
public function actionAdmin()
{
$this->scenario = 'create';
parent::actionAdmin();
}
示例7: actionAdmin
public function actionAdmin()
{
$sql = 'UPDATE {{apartment_complain}} SET active = 1';
Yii::app()->db->createCommand($sql)->execute();
parent::actionAdmin();
}
示例8: actionAdmin
public function actionAdmin()
{
Yii::app()->user->setFlash('warning', Yii::t('module_currency', 'moduleAdminHelp', array('{link}' => CHtml::link(tc('Languages'), array('/lang/backend/main/admin')))));
parent::actionAdmin();
}