當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ModuleAdminController::actionAdmin方法代碼示例

本文整理匯總了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();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:7,代碼來源:MainController.php

示例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();
 }
開發者ID:alexjkitty,項目名稱:estate,代碼行數:14,代碼來源:MainController.php

示例3: actionAdmin

 public function actionAdmin()
 {
     $this->getMaxSorter();
     $this->getMinSorter();
     parent::actionAdmin();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:6,代碼來源:MainController.php

示例4: actionAdmin

 public function actionAdmin()
 {
     parent::actionAdmin();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:4,代碼來源:MainController.php

示例5: actionAdmin

 public function actionAdmin()
 {
     $this->scenario = 'create';
     $this->params['position'] = Yii::app()->request->getParam('position', 1);
     parent::actionAdmin();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:6,代碼來源:MainController.php

示例6: actionAdmin

 public function actionAdmin()
 {
     $this->scenario = 'create';
     parent::actionAdmin();
 }
開發者ID:alexjkitty,項目名稱:estate,代碼行數:5,代碼來源:MainController.php

示例7: actionAdmin

 public function actionAdmin()
 {
     $sql = 'UPDATE {{apartment_complain}} SET active = 1';
     Yii::app()->db->createCommand($sql)->execute();
     parent::actionAdmin();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:6,代碼來源:MainController.php

示例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();
 }
開發者ID:barricade86,項目名稱:raui,代碼行數:5,代碼來源:MainController.php


注:本文中的ModuleAdminController::actionAdmin方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。