当前位置: 首页>>代码示例>>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;未经允许,请勿转载。