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


PHP HTML_QuickForm_text::HTML_QuickForm_text方法代碼示例

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


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

示例1: __construct

 /**
  * Initialises form element with loaded options
  * @param string $elementName Element name
  * @param string $elementLabel Text for element's <label> tag
  * @param array(string => string) $attributes HTML attributes for the element
  * @param moodletxt_icon $icon Icon to be displayed with element
  * @version 2011070501
  * @since 2011070501
  */
 public function __construct($elementName = null, $elementLabel = null, $attributes = null, moodletxt_icon $icon = null)
 {
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
     if ($icon != null) {
         $this->setIcon($icon);
     }
 }
開發者ID:educacionbe,項目名稱:campus,代碼行數:16,代碼來源:QuickFormTextWithImage.php

示例2: foreach

 /**
  * Constructor
  *
  * @param string $elementName Element name
  * @param mixed $elementLabel Label(s) for an element
  * @param mixed $attributes Either a typical HTML attribute string or an associative array.
  * @param array $options data which need to be posted.
  */
 function MoodleQuickForm_url($elementName = null, $elementLabel = null, $attributes = null, $options = null)
 {
     global $CFG;
     require_once "{$CFG->dirroot}/repository/lib.php";
     $options = (array) $options;
     foreach ($options as $name => $value) {
         $this->_options[$name] = $value;
     }
     if (!isset($this->_options['usefilepicker'])) {
         $this->_options['usefilepicker'] = true;
     }
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
 }
開發者ID:JP-Git,項目名稱:moodle,代碼行數:21,代碼來源:url.php

示例3: MoodleQuickForm_username

 function MoodleQuickForm_username($elementName = null, $elementLabel = null, $attributes = null)
 {
     HTML_QuickForm_text::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
     $this->_persistantFreeze = true;
     $this->setType('user');
 }
開發者ID:hmatulis,項目名稱:RTL-BIDI-Hebrew-Moodle-Plugins,代碼行數:6,代碼來源:username.php

示例4:

 function MoodleQuickForm_text($elementName = null, $elementLabel = null, $attributes = null)
 {
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
 }
開發者ID:vuchannguyen,項目名稱:web,代碼行數:4,代碼來源:text.php

示例5: MoodleQuickForm_tccolourpopup

 public function MoodleQuickForm_tccolourpopup($elementname = null, $elementlabel = null, $attributes = null, $options = null)
 {
     parent::HTML_QuickForm_text($elementname, $elementlabel, $attributes);
 }
開發者ID:LearningPool,項目名稱:moodle-format_topcoll,代碼行數:4,代碼來源:tc_colourpopup.php

示例6:

 function MoodleQuickForm_tccolourpopup($elementName = null, $elementLabel = null, $attributes = null, $options = null)
 {
     global $CFG;
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
 }
開發者ID:oncampus,項目名稱:mooin_course_format_octabs,代碼行數:5,代碼來源:tc_colourpopup.php

示例7:

 function HTML_QuickForm_yui_autocomplete($elementName = null, $elementLabel = null, $attributes = null, $properties = null)
 {
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
     $this->updateAttributes(array('df:cloneable' => 1, 'onfocus' => 'buildYUIAutocomplete(this)', 'onblur' => 'updateYUIVocabulary(this)', 'autocomplete' => 'Off', 'id' => $elementName));
 }
開發者ID:minger11,項目名稱:Pipeline,代碼行數:5,代碼來源:yui_autocomplete.php

示例8:

 /**
  * Constructor for the colour picker.
  *
  * @param string $elementName
  * @param string $elementLabel
  * @param array $attributes
  */
 function MoodleQuickForm_customcert_colourpicker($elementName = null, $elementLabel = null, $attributes = null)
 {
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
 }
開發者ID:rezaies,項目名稱:moodle-mod_customcert,代碼行數:11,代碼來源:colourpicker.php

示例9: MoodleQuickForm_gfcolourpopup

 public function MoodleQuickForm_gfcolourpopup($elementName = null, $elementLabel = null, $attributes = null, $options = null)
 {
     parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
     $this->_type = 'colourtext';
 }
開發者ID:philippe-tcg,項目名稱:moodle-format_grid,代碼行數:5,代碼來源:gf_colourpopup.php


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