mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-78163-master' of https://github.com/meirzamoodle/moodle
This commit is contained in:
commit
50093090f6
@ -46,6 +46,9 @@ class MoodleQuickForm_button extends HTML_QuickForm_button implements templatabl
|
||||
/** @var string html for help button, if empty then no help */
|
||||
var $_helpbutton='';
|
||||
|
||||
/** @var bool if true label will be hidden. */
|
||||
protected $_hiddenLabel = false;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
@ -89,4 +92,13 @@ class MoodleQuickForm_button extends HTML_QuickForm_button implements templatabl
|
||||
return 'default';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets label to be hidden
|
||||
*
|
||||
* @param bool $hiddenLabel sets if label should be hidden
|
||||
*/
|
||||
public function setHiddenLabel($hiddenLabel) {
|
||||
$this->_hiddenLabel = $hiddenLabel;
|
||||
}
|
||||
}
|
||||
|
@ -44,6 +44,9 @@ class MoodleQuickForm_password extends HTML_QuickForm_password implements templa
|
||||
/** @var string, html for help button, if empty then no help */
|
||||
var $_helpbutton='';
|
||||
|
||||
/** @var bool if true label will be hidden. */
|
||||
protected $_hiddenLabel = false;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
@ -91,4 +94,13 @@ class MoodleQuickForm_password extends HTML_QuickForm_password implements templa
|
||||
function getHelpButton(){
|
||||
return $this->_helpbutton;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets label to be hidden
|
||||
*
|
||||
* @param bool $hiddenLabel sets if label should be hidden
|
||||
*/
|
||||
public function setHiddenLabel($hiddenLabel) {
|
||||
$this->_hiddenLabel = $hiddenLabel;
|
||||
}
|
||||
}
|
||||
|
@ -43,6 +43,9 @@ class MoodleQuickForm_radio extends HTML_QuickForm_radio implements templatable
|
||||
/** @var string html for help button, if empty then no help */
|
||||
var $_helpbutton='';
|
||||
|
||||
/** @var bool if true label will be hidden. */
|
||||
protected $_hiddenLabel = false;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
@ -115,4 +118,13 @@ class MoodleQuickForm_radio extends HTML_QuickForm_radio implements templatable
|
||||
{
|
||||
return '<span>' . parent::toHtml() . '</span>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets label to be hidden
|
||||
*
|
||||
* @param bool $hiddenLabel sets if label should be hidden
|
||||
*/
|
||||
public function setHiddenLabel($hiddenLabel) {
|
||||
$this->_hiddenLabel = $hiddenLabel;
|
||||
}
|
||||
}
|
||||
|
@ -51,6 +51,9 @@ class MoodleQuickForm_url extends HTML_QuickForm_text implements templatable {
|
||||
/** @var string the unique id of the filepicker, if enabled.*/
|
||||
protected $filepickeruniqueid;
|
||||
|
||||
/** @var array data which need to be posted. */
|
||||
protected $_options;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user