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

Public Member Functions

 MoodleQuickForm_file ($elementName=null, $elementLabel=null, $attributes=null)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 onQuickFormEvent ($event, $arg, &$caller)
 getElementTemplateType ()

Data Fields

 $_helpbutton = ''

Detailed Description

HTML class for a form element to upload a file

Author:
Jamie Pratt public

Definition at line 10 of file file.php.


Member Function Documentation

Slightly different container template when frozen.

Returns:
string

Definition at line 59 of file file.php.

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Definition at line 38 of file file.php.

MoodleQuickForm_file ( elementName = null,
elementLabel = null,
attributes = null 
)

Definition at line 17 of file file.php.

Here is the call graph for this function:

onQuickFormEvent ( event,
arg,
&$  caller 
)

Override createElement event to add max files

Reimplemented from HTML_QuickForm_file.

Definition at line 45 of file file.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Definition at line 28 of file file.php.

Here is the call graph for this function:


Field Documentation

$_helpbutton = ''

Definition at line 16 of file file.php.


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