PHP 클래스 Xhgui_Twig_Extension, xhgui

상속: extends Twig_Extension
파일 보기 프로젝트 열기: perftools/xhgui

보호된 프로퍼티들

프로퍼티 타입 설명
$_app

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
_getBase ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $app )

_getBase() 보호된 메소드

protected _getBase ( )

formatBytes() 공개 메소드

public formatBytes ( $value )

formatDiff() 공개 메소드

public formatDiff ( $value )

formatPercent() 공개 메소드

public formatPercent ( $value )

formatTime() 공개 메소드

public formatTime ( $value )

getFilters() 공개 메소드

public getFilters ( )

getFunctions() 공개 메소드

public getFunctions ( )

getName() 공개 메소드

public getName ( )

makePercent() 공개 메소드

public makePercent ( $value, $total )

staticUrl() 공개 메소드

Get the URL for static content relative to webroot
public staticUrl ( $url ) : string
리턴 string url.

truncate() 공개 메소드

public truncate ( $input, $length = 50 )

url() 공개 메소드

Get a URL for xhgui.
public url ( $name, $queryargs = [] ) : string
리턴 string url.

프로퍼티 상세

$_app 보호되어 있는 프로퍼티

protected $_app