Class SimpleTagGroup

Description

A group of multiple widgets with some shared behaviour.

Located in /tag.php (line 1172)


	
			
Direct descendents
Class Description
 class SimpleCheckboxGroup A group of tags with the same name within a form.
 class SimpleRadioGroup A group of tags with the same name within a form.
Method Summary
 void addWidget (SimpleWidget $widget)
 boolean getAttribute (string $label)
 string getName ()
 array &getWidgets ()
 boolean isId (string $id)
 boolean isLabel (string $label)
 void write (SimpleEncoding $encoding)
Methods
addWidget (line 1180)

Adds a tag to the group.

  • access: public
void addWidget (SimpleWidget $widget)
getAttribute (line 1199)

Accessor for an attribute.

  • return: Always false.
  • access: public
boolean getAttribute (string $label)
  • string $label: Attribute name.
getName (line 1209)

Fetches the name for the widget from the first member.

  • return: Name of widget.
  • access: public
string getName ()
getWidgets (line 1189)

Accessor to widget set.

  • return: All widgets.
  • access: protected
array &getWidgets ()
isId (line 1222)

Scans the widgets for one with the appropriate ID field.

  • return: True if matched.
  • access: public
boolean isId (string $id)
  • string $id: ID value to try.
isLabel (line 1238)

Scans the widgets for one with the appropriate attached label.

  • return: True if matched.
  • access: public
boolean isLabel (string $label)
  • string $label: Attached label to try.
write (line 1252)

Dispatches the value into the form encoded packet.

  • access: public
void write (SimpleEncoding $encoding)

Documentation generated on Sun, 31 Oct 2010 16:32:38 -0500 by phpDocumentor 1.4.3