當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。