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

Public Member Functions

 addWidget (&$widget)
_getWidgets ()
 getAttribute ($label)
 getName ()
 isId ($id)
 isLabel ($label)
 write (&$encoding)

Data Fields

 $_widgets = array()

Detailed Description

Definition at line 1063 of file tag.php.


Member Function Documentation

& _getWidgets ( )

Accessor to widget set.

Returns:
array All widgets. protected

Definition at line 1080 of file tag.php.

Here is the caller graph for this function:

addWidget ( &$  widget)

Adds a tag to the group.

Parameters:
SimpleWidget$widgetpublic

Definition at line 1071 of file tag.php.

getAttribute ( label)

Accessor for an attribute.

Parameters:
string$labelAttribute name.
Returns:
boolean Always false. public

Definition at line 1090 of file tag.php.

Here is the caller graph for this function:

getName ( )

Fetches the name for the widget from the first member.

Returns:
string Name of widget. public

Definition at line 1100 of file tag.php.

Here is the caller graph for this function:

isId ( id)

Scans the widgets for one with the appropriate ID field.

Parameters:
string$idID value to try.
Returns:
boolean True if matched. public

Definition at line 1113 of file tag.php.

isLabel ( label)

Scans the widgets for one with the appropriate attached label.

Parameters:
string$labelAttached label to try.
Returns:
boolean True if matched. public

Definition at line 1129 of file tag.php.

write ( &$  encoding)

Dispatches the value into the form encoded packet.

Parameters:
SimpleEncoding$encodingForm packet. public

Definition at line 1143 of file tag.php.

Here is the call graph for this function:


Field Documentation

$_widgets = array()

Definition at line 1064 of file tag.php.


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