// * 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);
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) {
* @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) {