PHP Class RHtmlFormatter, php-ref

Inheritance: extends RFormatter
Exibir arquivo Open project: digitalnature/php-ref

Protected Properties

Property Type Description
$cache
$counter
$def
$didAssets
$level
$out
$tips

Public Methods

Method Description
__construct ( )
bubbles ( array $items )
cacheLock ( $id )
colDiv ( $padLen = null )
didCache ( $id )
emptyGroup ( $prefix = '' )
endContain ( )
endExp ( )
endGroup ( )
endRoot ( )
endRow ( )
flush ( )
getAssets ( ) : string Get styles and javascript (only generated for the 1st call)
sectionTitle ( $title )
sep ( $label = ' ' )
startContain ( $type, $label = false )
startExp ( )
startGroup ( $prefix = '' )
startRoot ( )
startRow ( )
text ( $type, $text = null, $meta = null, $uri = null )

Protected Methods

Method Description
escape ( string | array $var ) : string | array Escapes variable for HTML output

Method Details

__construct() public method

public __construct ( )

bubbles() public method

public bubbles ( array $items )
$items array

cacheLock() public method

public cacheLock ( $id )

colDiv() public method

public colDiv ( $padLen = null )

didCache() public method

public didCache ( $id )

emptyGroup() public method

public emptyGroup ( $prefix = '' )

endContain() public method

public endContain ( )

endExp() public method

public endExp ( )

endGroup() public method

public endGroup ( )

endRoot() public method

public endRoot ( )

endRow() public method

public endRow ( )

escape() protected static method

Escapes variable for HTML output
protected static escape ( string | array $var ) : string | array
$var string | array
return string | array

flush() public method

public flush ( )

getAssets() public static method

Get styles and javascript (only generated for the 1st call)
public static getAssets ( ) : string
return string

sectionTitle() public method

public sectionTitle ( $title )

sep() public method

public sep ( $label = ' ' )

startContain() public method

public startContain ( $type, $label = false )

startExp() public method

public startExp ( )

startGroup() public method

public startGroup ( $prefix = '' )

startRoot() public method

public startRoot ( )

startRow() public method

public startRow ( )

text() public method

public text ( $type, $text = null, $meta = null, $uri = null )

Property Details

$cache protected_oe property

protected $cache

$counter protected_oe static_oe property

protected static $counter

$def protected_oe property

protected $def

$didAssets protected_oe static_oe property

protected static $didAssets

$level protected_oe property

protected $level

$out protected_oe property

protected $out

$tips protected_oe property

protected $tips