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


PHP GenericPlugin::getManagementVerbs方法代碼示例

本文整理匯總了PHP中GenericPlugin::getManagementVerbs方法的典型用法代碼示例。如果您正苦於以下問題:PHP GenericPlugin::getManagementVerbs方法的具體用法?PHP GenericPlugin::getManagementVerbs怎麽用?PHP GenericPlugin::getManagementVerbs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在GenericPlugin的用法示例。


在下文中一共展示了GenericPlugin::getManagementVerbs方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getManagementVerbs

 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('index', Locale::translate('plugins.generic.customLocale.customize'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:jerico-dev,項目名稱:omp,代碼行數:8,代碼來源:CustomLocalePlugin.inc.php

示例2: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('settings', Locale::translate('plugins.generic.googleAnalytics.manager.settings'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:ramonsodoma,項目名稱:ojs,代碼行數:11,代碼來源:ReferralPlugin.inc.php

示例3: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('settings', __('plugins.generic.cookiesAlert.manager.settings'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:piero-tasso,項目名稱:ojs-cookiesAlert,代碼行數:11,代碼來源:CookiesAlertPlugin.inc.php

示例4: getManagementVerbs

 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('translate', __('plugins.generic.translator.translate'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:reconciler,項目名稱:ojs,代碼行數:8,代碼來源:TranslatorPlugin.inc.php

示例5: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = parent::getManagementVerbs();
     if ($this->getEnabled()) {
         $verbs[] = array('settings', __('plugins.generic.phpmv.manager.settings'));
     }
     return $verbs;
 }
開發者ID:slgodoy,項目名稱:ojs,代碼行數:11,代碼來源:PhpMyVisitesPlugin.inc.php

示例6: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = parent::getManagementVerbs();
     if ($this->getEnabled() && $this->isTinyMCEInstalled()) {
         $verbs[] = array('settings', __('plugins.generic.staticPages.editAddContent'));
     }
     return $verbs;
 }
開發者ID:artkuo,項目名稱:ocs,代碼行數:11,代碼來源:StaticPagesPlugin.inc.php

示例7: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('feeds', Locale::translate('plugins.generic.externalFeed.manager.feeds'));
         $verbs[] = array('settings', Locale::translate('plugins.generic.externalFeed.manager.settings'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:JovanyJeff,項目名稱:hrp,代碼行數:12,代碼來源:ExternalFeedPlugin.inc.php

示例8: getManagementVerbs

 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('counter', __('plugins.generic.counter'));
         $this->import('CounterReportDAO');
         $counterReportDao = new CounterReportDAO();
         DAORegistry::registerDAO('CounterReportDAO', $counterReportDao);
         $counterReportDao =& DAORegistry::getDAO('CounterReportDAO');
         if (file_exists($counterReportDao->getOldLogFilename())) {
             $verbs[] = array('migrate', __('plugins.generic.counter.migrate'));
         }
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:yuricampos,項目名稱:ojs,代碼行數:15,代碼來源:CounterPlugin.inc.php

示例9: getManagementVerbs

 /**
  * Display verbs for the management interface.
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         if ($this->isTinyMCEInstalled()) {
             $verbs[] = array('settings', Locale::translate('plugins.generic.staticPages.editAddContent'));
         }
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:master3395,項目名稱:CBPPlatform,代碼行數:13,代碼來源:StaticPagesPlugin.inc.php

示例10: getManagementVerbs

 /**
  * @see GenericPlugin::getManagementVerbs()
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('connect', __('plugins.generic.dataverse.settings.connect'));
         $verbs[] = array('select', __('plugins.generic.dataverse.settings.selectDataverse'));
         $verbs[] = array('settings', __('plugins.generic.dataverse.settings'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:farhanabbas1983,項目名稱:ojs-1,代碼行數:13,代碼來源:DataversePlugin.inc.php

示例11: getManagementVerbs

 function getManagementVerbs()
 {
     $verbs = parent::getManagementVerbs();
     if ($this->getEnabled()) {
         $verbs[] = array('index', __('plugins.generic.customLocale.customize'));
     }
     return $verbs;
 }
開發者ID:mosvits,項目名稱:ojs,代碼行數:8,代碼來源:CustomLocalePlugin.inc.php

示例12: getManagementVerbs

 /**
  * Get a list of available management verbs for this plugin
  * @return array
  */
 function getManagementVerbs()
 {
     if ($this->isMCEInstalled()) {
         return parent::getManagementVerbs();
     } else {
         return array();
     }
 }
開發者ID:artkuo,項目名稱:ocs,代碼行數:12,代碼來源:TinyMCEPlugin.inc.php

示例13: getManagementVerbs

 /**
  * Get a list of available management verbs for this plugin
  * @return array
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('adminCrosswalks', Locale::translate('plugins.generic.mysqlIndex.crosswalks'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:ramonsodoma,項目名稱:harvester,代碼行數:12,代碼來源:MysqlIndexPlugin.inc.php

示例14: getManagementVerbs

 /**
  * @see GenericPlugin::getManagementVerbs()
  */
 function getManagementVerbs()
 {
     $verbs = parent::getManagementVerbs();
     if ($this->getEnabled()) {
         $verbs[] = array('settings', __('grid.settings'));
     }
     return $verbs;
 }
開發者ID:jalperin,項目名稱:ojs,代碼行數:11,代碼來源:UsageStatsPlugin.inc.php

示例15: getManagementVerbs

 /**
  * Get a list of available management verbs for this plugin
  * @return array
  */
 function getManagementVerbs()
 {
     $verbs = array();
     if ($this->getEnabled()) {
         $verbs[] = array('adminSearchForm', Locale::translate('plugins.generic.zendSearch.searchForm'));
         $verbs[] = array('adminSettings', Locale::translate('plugins.generic.zendSearch.settings'));
     }
     return parent::getManagementVerbs($verbs);
 }
開發者ID:ramonsodoma,項目名稱:harvester,代碼行數:13,代碼來源:ZendSearchPlugin.inc.php


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