Moodle  2.2.1
http://www.collinsharper.com
MoodleQuickForm_filepicker Class Reference
Inheritance diagram for MoodleQuickForm_filepicker:
Collaboration diagram for MoodleQuickForm_filepicker:

Public Member Functions

 MoodleQuickForm_filepicker ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 getElementTemplateType ()
 toHtml ()
 exportValue (&$submitValues, $assoc=false)

Data Fields

 $_helpbutton = ''

Protected Attributes

 $_options = array('maxbytes'=>0, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL)

Detailed Description

HTML class for a single filepicker element (based on button)

Author:
Moodle.com
Version:
1.0
Since:
Moodle 2.0 public

Definition at line 16 of file filepicker.php.


Member Function Documentation

exportValue ( &$  submitValues,
assoc = false 
)

We don't need values from button-type elements (except submit) and files

Reimplemented from HTML_QuickForm_input.

Definition at line 114 of file filepicker.php.

Here is the call graph for this function:

Definition at line 44 of file filepicker.php.

Definition at line 40 of file filepicker.php.

MoodleQuickForm_filepicker ( elementName = null,
elementLabel = null,
attributes = null,
options = null 
)

Definition at line 20 of file filepicker.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

Definition at line 36 of file filepicker.php.

Here is the call graph for this function:

toHtml ( )

Returns the input field in HTML

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_input.

Definition at line 52 of file filepicker.php.

Here is the call graph for this function:


Field Documentation

$_helpbutton = ''

Definition at line 17 of file filepicker.php.

$_options = array('maxbytes'=>0, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) [protected]

Definition at line 18 of file filepicker.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations