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

Public Member Functions

 MoodleQuickForm_filemanager ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
 setName ($name)
 getName ()
 setValue ($value)
 getValue ()
 getMaxbytes ()
 setMaxbytes ($maxbytes)
 getSubdirs ()
 setSubdirs ($allow)
 getMaxfiles ()
 setMaxfiles ($num)
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 getElementTemplateType ()
 toHtml ()

Data Fields

 $_helpbutton = ''

Protected Attributes

 $_options = array('mainfile'=>'', 'subdirs'=>1, 'maxbytes'=>-1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL)

Detailed Description

Definition at line 32 of file filemanager.php.


Member Function Documentation

Definition at line 101 of file filemanager.php.

Definition at line 97 of file filemanager.php.

Definition at line 68 of file filemanager.php.

Definition at line 85 of file filemanager.php.

Here is the caller graph for this function:

getName ( )

Returns the element name

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_element.

Definition at line 56 of file filemanager.php.

Here is the call graph for this function:

Definition at line 77 of file filemanager.php.

getValue ( )

Returns the value of the form element

Since:
1.0 public
Returns:
mixed

Reimplemented from HTML_QuickForm_element.

Definition at line 64 of file filemanager.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 36 of file filemanager.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

Definition at line 93 of file filemanager.php.

Here is the call graph for this function:

setMaxbytes ( maxbytes)

Definition at line 72 of file filemanager.php.

Here is the call graph for this function:

setMaxfiles ( num)

Definition at line 89 of file filemanager.php.

setName ( name)

Sets the input field name

Parameters:
string$nameInput field name attribute
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_element.

Definition at line 52 of file filemanager.php.

Here is the call graph for this function:

setSubdirs ( allow)

Definition at line 81 of file filemanager.php.

setValue ( value)

Sets the value of the form element

Parameters:
string$valueDefault value of the form element
Since:
1.0 public
Returns:
void

Reimplemented from HTML_QuickForm_element.

Definition at line 60 of file filemanager.php.

Here is the call graph for this function:

Here is the caller graph for this function:

toHtml ( )

Abstract method. Must be extended to return the objects HTML

public

Returns:
string

Reimplemented from HTML_Common.

Definition at line 109 of file filemanager.php.

Here is the call graph for this function:


Field Documentation

$_helpbutton = ''

Definition at line 33 of file filemanager.php.

$_options = array('mainfile'=>'', 'subdirs'=>1, 'maxbytes'=>-1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) [protected]

Definition at line 34 of file filemanager.php.


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