Stud.IP  3.4 Revision
Icon.class.php File Reference

Data Structures

class  Icon
 

Functions

 render ($type=Icon::SVG)
 

Variables

trait DeprecatedIcon
 

Function Documentation

◆ render()

render (   $type = Icon::SVG)

Renders the icon as svg, png or css background.

Parameters
int$typeDefines in which manner the icon should be rendered, defaults to svg.
Returns
String containing the rendered output
Exceptions
Exceptionif no valid type was passed
Here is the caller graph for this function:

Variable Documentation

◆ DeprecatedIcon

trait DeprecatedIcon
Initial value:
{
protected $deprecatedSize = null