Stud.IP  5.4
LinkButton Class Reference
Inheritance diagram for LinkButton:
Interactable

Public Member Functions

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

Protected Member Functions

 initialize ($label, $url, $attributes)
 
- Protected Member Functions inherited from Interactable
 initialize ($label, $trait, $attributes)
 

Additional Inherited Members

- 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
 

Detailed Description

Represents an HTML link element.

Member Function Documentation

◆ __toString()

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

◆ initialize()

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

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