Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
Button Class Reference
Inheritance diagram for Button:
Inheritance graph
Collaboration diagram for Button:
Collaboration graph

element of the button element

Parameters
array$attributesthe attributes of the button element
 initialize ($label, $name, $attributes)
 __toString ()

Additional Inherited Members

- Public Member Functions inherited from Interactable
 __construct ($label, $attributes)
- Static Public Member Functions inherited from Interactable
static __callStatic ($name, $args)
static create ($label=NULL, $trait=NULL, $attributes=array())
static createAccept ($label=NULL, $trait=NULL, $attributes=array())
static createCancel ($label=NULL, $trait=NULL, $attributes=array())
- Data Fields inherited from Interactable
 $label
 $attributes

Detailed Description

Represents an HTML button element. Class Button inherits from Interactable and customizes the HTML output.

Member Function Documentation

__toString ( )
Returns
returns a HTML representation of this button.

Here is the call graph for this function:

initialize (   $label,
  $trait,
  $attributes 
)
protected

Initialize an interactable element. The parameters to create are handed over to enable subclass specific customization.

Parameters
string$labelthe label of the current element
string$traitthe specific trait of the current element
array$attributesthe attributes of the button element

Reimplemented from Interactable.


The documentation for this class was generated from the following file: