MDL-19799 Switched $_helpbutton to public members

This commit is contained in:
nicolasconnault 2009-08-21 00:15:19 +00:00
parent 3bd6b994fc
commit 12f11f232a
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ require_once($CFG->dirroot.'/repository/lib.php');
// * ajax format conversion
class MoodleQuickForm_editor extends HTML_QuickForm_element {
protected $_helpbutton = '';
public $_helpbutton = '';
protected $_options = array('subdirs'=>0, 'maxbytes'=>0, 'maxfiles'=>0, 'changeformat'=>0,
'context'=>null, 'noclean'=>0, 'trusttext'=>0);
protected $_values = array('text'=>null, 'format'=>null, 'itemid'=>null);

View File

@ -6,7 +6,7 @@ require_once('HTML/QuickForm/element.php');
require_once($CFG->dirroot.'/lib/filelib.php');
class MoodleQuickForm_filemanager extends HTML_QuickForm_element {
protected $_helpbutton = '';
public $_helpbutton = '';
protected $_options = array('subdirs'=>0, 'maxbytes'=>0, 'maxfiles'=>-1, 'filetypes'=>'*', 'returnvalue'=>'*');
function MoodleQuickForm_filemanager($elementName=null, $elementLabel=null, $attributes=null, $options=null) {

View File

@ -14,7 +14,7 @@ require_once($CFG->dirroot.'/repository/lib.php');
* @access public
*/
class MoodleQuickForm_filepicker extends HTML_QuickForm_input {
protected $_helpbutton = '';
public $_helpbutton = '';
protected $_options = array('maxbytes'=>0, 'filetypes'=>'*', 'returnvalue'=>'*');
function MoodleQuickForm_filepicker($elementName=null, $elementLabel=null, $attributes=null, $options=null) {