PHP Class Xhgui_Twig_Extension, xhgui

Inheritance: extends Twig_Extension
Afficher le fichier Open project: perftools/xhgui

Protected Properties

Свойство Type Description
$_app

Méthodes publiques

Méthode Description
__construct ( $app )
formatBytes ( $value )
formatDiff ( $value )
formatPercent ( $value )
formatTime ( $value )
getFilters ( )
getFunctions ( )
getName ( )
makePercent ( $value, $total )
staticUrl ( $url ) : string Get the URL for static content relative to webroot
truncate ( $input, $length = 50 )
url ( $name, $queryargs = [] ) : string Get a URL for xhgui.

Méthodes protégées

Méthode Description
_getBase ( )

Method Details

__construct() public méthode

public __construct ( $app )

_getBase() protected méthode

protected _getBase ( )

formatBytes() public méthode

public formatBytes ( $value )

formatDiff() public méthode

public formatDiff ( $value )

formatPercent() public méthode

public formatPercent ( $value )

formatTime() public méthode

public formatTime ( $value )

getFilters() public méthode

public getFilters ( )

getFunctions() public méthode

public getFunctions ( )

getName() public méthode

public getName ( )

makePercent() public méthode

public makePercent ( $value, $total )

staticUrl() public méthode

Get the URL for static content relative to webroot
public staticUrl ( $url ) : string
Résultat string url.

truncate() public méthode

public truncate ( $input, $length = 50 )

url() public méthode

Get a URL for xhgui.
public url ( $name, $queryargs = [] ) : string
Résultat string url.

Property Details

$_app protected_oe property

protected $_app