Stud.IP  5.4
StudipLink Class Reference

Public Member Functions

 __construct (string $link, string $title, Icon $icon)
 
 __toString ()
 

Data Fields

 $title = ""
 
 $icon = null
 
 $link = ""
 
 $attributes = []
 

Detailed Description

The StudipLink class abstracts Links so that they can be displayed in a uniform manner more easily.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $link,
string  $title,
Icon  $icon 
)

Member Function Documentation

◆ __toString()

__toString ( )

Field Documentation

◆ $attributes

$attributes = []

Attributes for the link.

◆ $icon

$icon = null

The icon for the link.

◆ $link

$link = ""

The link itself.

◆ $title

$title = ""

The title that shall be displayed.


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