Comments: on this page. Click to read or post your own.

Class SimpleTagGroup

Description

A group of multiple widgets with some shared behaviour.

Located in /sapphire/dev/simpletest/tag.php (line 1063)


	
			
Direct descendents
Class Description
SimpleCheckboxGroup A group of tags with the same name within a form.
SimpleRadioGroup A group of tags with the same name within a form.
Variable Summary
mixed $_widgets
Method Summary
void addWidget ( &$widget, SimpleWidget $widget)
boolean getAttribute (string $label)
string getName ()
boolean isId (string $id)
boolean isLabel (string $label)
void write ( &$encoding, SimpleEncoding $encoding)
array &_getWidgets ()
Variables
mixed $_widgets = array() (line 1064)
Methods
addWidget (line 1071)

Adds a tag to the group.

  • access: public
void addWidget ( &$widget, SimpleWidget $widget)
getAttribute (line 1090)

Accessor for an attribute.

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

Fetches the name for the widget from the first member.

  • return: Name of widget.
  • access: public
string getName ()
isId (line 1113)

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 1129)

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 1143)

Dispatches the value into the form encoded packet.

  • access: public
void write ( &$encoding, SimpleEncoding $encoding)
_getWidgets (line 1080)

Accessor to widget set.

  • return: All widgets.
  • access: protected
array &_getWidgets ()
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:46:49 +1300 by phpDocumentor 1.3.2