当前位置: 首页>>代码示例>>PHP>>正文


PHP plugin_lang_get函数代码示例

本文整理汇总了PHP中plugin_lang_get函数的典型用法代码示例。如果您正苦于以下问题:PHP plugin_lang_get函数的具体用法?PHP plugin_lang_get怎么用?PHP plugin_lang_get使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了plugin_lang_get函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: menu

 /**
  * If the whiteboard menu plugin isnt installed, show the storyboard menu instead
  *
  * @return null|string
  */
 function menu()
 {
     if (!plugin_is_installed('WhiteboardMenu') && plugin_config_get('ShowMenu') && $this->getUserHasLevel()) {
         return '<a href="' . plugin_page('storyboard_index') . '">' . plugin_lang_get('menu_title') . '</a>';
     }
     return null;
 }
开发者ID:Cre-ator,项目名称:Whiteboard.StoryBoard-Plugin,代码行数:12,代码来源:StoryBoard.php

示例2: menu

	public function menu($event)
	{
		$links = array();
		$links[] = '<a href="' . plugin_page("board") . '">' . plugin_lang_get("board") . '</a>';

		return $links;
	}
开发者ID:rombert,项目名称:scrum,代码行数:7,代码来源:Scrum.php

示例3: __construct

 public function __construct()
 {
     plugin_push_current('CustomerManagement');
     $this->title = plugin_lang_get('customer_group');
     $this->column = 'customer_group';
     plugin_pop_current();
 }
开发者ID:WilfriedMartin,项目名称:customer-management,代码行数:7,代码来源:CustomerGroupColumn.php

示例4: agileMantisStatusColorsAndNames

 function agileMantisStatusColorsAndNames($task_status)
 {
     switch ($task_status) {
         default:
         case '1':
             $status['name'] = plugin_lang_get('status_new');
             $status['color'] = '#FCBDBD';
             break;
         case '2':
             $status['name'] = plugin_lang_get('status_assigned');
             $status['color'] = '#C2DFFF';
             break;
         case '3':
             $status['name'] = plugin_lang_get('status_confirmed');
             $status['color'] = '#FFF494';
             break;
         case '4':
             $status['name'] = plugin_lang_get('status_resolved');
             $status['color'] = '#D2F5B0';
             break;
         case '5':
             $status['name'] = plugin_lang_get('status_closed');
             $status['color'] = '#c9ccc4';
             break;
     }
     return $status;
 }
开发者ID:CarlosPinedaT,项目名称:agileMantis,代码行数:27,代码来源:class_agile_mantis_style.php

示例5: __construct

 public function __construct()
 {
     plugin_push_current('CustomerManagement');
     $this->title = plugin_lang_get('invoice');
     $this->field = 'invoice';
     $this->type = FILTER_TYPE_STRING;
     plugin_pop_current();
 }
开发者ID:WilfriedMartin,项目名称:customer-management,代码行数:8,代码来源:InvoiceFilter.php

示例6: __construct

 public function __construct()
 {
     plugin_push_current('CustomerManagement');
     $this->title = plugin_lang_get('customer_group');
     $this->field = 'customer';
     $this->type = FILTER_TYPE_MULTI_INT;
     plugin_pop_current();
 }
开发者ID:WilfriedMartin,项目名称:customer-management,代码行数:8,代码来源:CustomerGroupFilter.php

示例7: account_update_form

 /**
  * When updating user preferences, allowing the user or admin to specify
  * a version control username to be associated with the account.
  * @param string Event name
  * @param int User ID
  */
 function account_update_form($p_event, $p_user_id)
 {
     if (!access_has_global_level(config_get('plugin_Source_username_threshold'))) {
         return;
     }
     $t_user = SourceUser::load($p_user_id);
     echo '<tr ', helper_alternate_class(), '><td class="category">', plugin_lang_get('vcs_username', 'Source'), '<input type="hidden" name="Source_vcs" value="1"/></td><td>', '<input name="Source_vcs_username" value="', $t_user->username, '"/></td></tr>';
 }
开发者ID:hcw70,项目名称:source-integration,代码行数:14,代码来源:SourceIntegration.php

示例8: lang_get_failsave_custom_field

function lang_get_failsave_custom_field($p_custom_field_name)
{
    if (lang_exists($p_custom_field_name, lang_get_current())) {
        $t_str = lang_get($p_custom_field_name);
    } else {
        $t_str = plugin_lang_get($p_custom_field_name);
    }
    return $t_str;
}
开发者ID:CarlosPinedaT,项目名称:agileMantis,代码行数:9,代码来源:config.php

示例9: install

	function install() {
		$result = extension_loaded("xmlreader") && extension_loaded("xmlwriter");
		if ( ! $result ) {
			#\todo returning false should trigger some error reporting, needs rethinking error_api
			error_parameters( plugin_lang_get( 'error_no_xml' ) );
			trigger_error( ERROR_PLUGIN_INSTALL_FAILED, ERROR );
		}
		return $result;
	}
开发者ID:rombert,项目名称:mantisbt,代码行数:9,代码来源:XmlImportExport.php

示例10: register

 function register()
 {
     $this->name = plugin_lang_get('plugin_title');
     $this->description = plugin_lang_get('plugin_description');
     $this->page = 'config.php';
     $this->version = '0.1.4';
     $this->requires = array('MantisCore' => '1.3.0');
     $this->author = 'Hennes Hervé';
     $this->url = 'http://www.h-hennes.fr';
 }
开发者ID:nenes25,项目名称:mantisbt_autochangestatus,代码行数:10,代码来源:AutoChangeStatus.php

示例11: register

 /**
  * A method that populates the plugin information and minimum requirements.
  * 
  * @return  void
  */
 public function register()
 {
     $this->name = plugin_lang_get('title');
     $this->description = plugin_lang_get('description');
     $this->version = '1.1.1';
     $this->requires = array('MantisCore' => '1.2.0, 1.3.0');
     $this->author = 'Frank Bültge';
     $this->contact = 'frank@bueltge.de';
     $this->url = 'https://github.com/bueltge/Chosen-for-MantisBT';
 }
开发者ID:bueltge,项目名称:Chosen-for-MantisBT,代码行数:15,代码来源:chosen.php

示例12: register

 /**
  *  A method that populates the plugin information and minimum requirements.
  */
 function register()
 {
     $this->name = plugin_lang_get('title');
     $this->description = plugin_lang_get('description');
     $this->version = '1.0.0';
     $this->requires = array('MantisCore' => '1.2.0');
     $this->author = 'Alain D\'EURVEILHER';
     $this->contact = 'alain.deurveilher@gmail.com';
     $this->url = 'https://github.com/mantisbt-plugins/FilterBugList';
 }
开发者ID:fg-ok,项目名称:codev,代码行数:13,代码来源:FilterBugList.php

示例13: register

 public function register()
 {
     $this->name = plugin_lang_get('name');
     $this->description = plugin_lang_get('description');
     $this->page = 'config_page';
     $this->version = self::VERSION;
     $this->requires = ['MantisCore' => '1.2.0'];
     $this->author = 'Andrzej Kupczyk';
     $this->contact = 'kontakt@andrzejkupczyk.pl';
     $this->url = 'http://andrzejkupczyk.pl';
 }
开发者ID:andrzejkupczyk,项目名称:mantisbt-todolists,代码行数:11,代码来源:ToDoLists.php

示例14: register

 function register()
 {
     $this->name = plugin_lang_get('title');
     $this->description = plugin_lang_get('description');
     $this->page = 'config_main';
     $this->version = '1.0';
     $this->requires = array('MantisCore' => '1.2.0');
     $this->author = 'AcanthiS';
     $this->contact = 'acanthis@ya.ru';
     $this->url = 'https://github.com/mantisbt-plugins/jabber-notify';
 }
开发者ID:JeromyK,项目名称:jabber-notify,代码行数:11,代码来源:JabberNotifierSystem.php

示例15: register

 /**
  *  A method that populates the plugin information and minimum requirements.
  */
 function register()
 {
     $this->name = plugin_lang_get('title');
     $this->description = plugin_lang_get('description');
     $this->page = '';
     $this->version = '2.0';
     $this->requires = array('MantisCore' => '1.2.0', 'jQuery' => '1.8.2');
     $this->author = 'Sam';
     $this->contact = 'rib.liu@qq.com';
     $this->url = 'http://www.mantisbt.org';
 }
开发者ID:since2014,项目名称:MantisAcra,代码行数:14,代码来源:MantisAcra.php


注:本文中的plugin_lang_get函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。