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

Public Member Functions

 __toString ()
- Public Member Functions inherited from Interactable
 __construct ($label, $attributes)

Protected Member Functions

 initialize ($label, $url, $attributes)

Additional Inherited Members

- 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 link element.

Member Function Documentation

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

Here is the call graph for this function:

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

Initialize a Hyperlink used as button. The second parameter is used as attribute of the resulting HTML element.

Parameters
string$labelthe label of the element
string$urlthe element of the element
array$attributesthe attributes of the element

Reimplemented from Interactable.


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