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

Public Member Functions

 MoodleQuickForm_questioncategory ($elementName=null, $elementLabel=null, $options=null, $attributes=null)

Data Fields

 $_options = array('top'=>false, 'currentcat'=>0, 'nochildrenof' => -1)

Detailed Description

HTML class for a drop down element to select a question category. public

Definition at line 19 of file questioncategory.php.


Member Function Documentation

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

Constructor

Parameters:
string$elementNameSelect name attribute
mixed$elementLabelLabel(s) for the select
mixed$attributesEither a typical HTML attribute string or an associative array
array$optionsadditional options. Recognised options are courseid, published and only_editable, corresponding to the arguments of question_category_options from moodlelib.php. public
Returns:
void

Definition at line 33 of file questioncategory.php.

Here is the call graph for this function:


Field Documentation

$_options = array('top'=>false, 'currentcat'=>0, 'nochildrenof' => -1)

Definition at line 20 of file questioncategory.php.


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