Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Button Class Reference
Inheritance diagram for Button:
Interactable

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=[])
 
static createAccept ($label=NULL, $trait=NULL, $attributes=[])
 
static createEdit ($label=NULL, $trait=NULL, $attributes=[])
 
static createCancel ($label=NULL, $trait=NULL, $attributes=[])
 
- Data Fields inherited from Interactable
 $label
 
 $attributes
 
- Protected Member Functions inherited from Interactable
 initialize ($label, $trait, $attributes)
 

Detailed Description

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

Member Function Documentation

__toString ( )
Returns
string returns a HTML representation of this button.
initialize (   $label,
  $name,
  $attributes 
)
protected

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