本文整理汇总了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);
}
示例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);
}
示例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);
}
示例4: getManagementVerbs
function getManagementVerbs()
{
$verbs = array();
if ($this->getEnabled()) {
$verbs[] = array('translate', __('plugins.generic.translator.translate'));
}
return parent::getManagementVerbs($verbs);
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例11: getManagementVerbs
function getManagementVerbs()
{
$verbs = parent::getManagementVerbs();
if ($this->getEnabled()) {
$verbs[] = array('index', __('plugins.generic.customLocale.customize'));
}
return $verbs;
}
示例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();
}
}
示例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);
}
示例14: getManagementVerbs
/**
* @see GenericPlugin::getManagementVerbs()
*/
function getManagementVerbs()
{
$verbs = parent::getManagementVerbs();
if ($this->getEnabled()) {
$verbs[] = array('settings', __('grid.settings'));
}
return $verbs;
}
示例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);
}