PHP Interface Element, HamlPHP

Mostrar archivo Open project: hamlphp/hamlphp Interface Usage Examples

Public Methods

Method Description
__construct ( $line, Compiler $compiler )
getAttributes ( )
getClasses ( )
getId ( )
getInlineContent ( )
getTag ( )
isPhpVariable ( )
isSelfClosing ( )
useAttsHelper ( )

Private Methods

Method Description
_containsInterpolation ( $str )
_containsPhpAttribute ( array $att_arr )
_interpolate ( $str )
_mergeAttributes ( $att_arrays )
_parseClassAndId ( $list )
_parseHashAttrs ( StringScanner $scanner ) : array
_parseHtmlAttrs ( StringScanner $scanner )
_parseObjRef ( $scanner )
balance ( $scanner_or_line, $start_char, $finish_char, $count ) : array Checks if the string has a balanced amount of $start_char and $finish_char pairs If you pass a scanner, the pointer of the scanner will be altered!
parseHaml ( )

Method Details

__construct() public method

public __construct ( $line, Compiler $compiler )
$compiler Compiler

getAttributes() public method

public getAttributes ( )

getClasses() public method

public getClasses ( )

getId() public method

public getId ( )

getInlineContent() public method

public getInlineContent ( )

getTag() public method

public getTag ( )

isPhpVariable() public method

public isPhpVariable ( )

isSelfClosing() public method

public isSelfClosing ( )

useAttsHelper() public method

public useAttsHelper ( )