PHP Interface Element, HamlPHP

Afficher le fichier Open project: hamlphp/hamlphp Interface Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

getAttributes() public méthode

public getAttributes ( )

getClasses() public méthode

public getClasses ( )

getId() public méthode

public getId ( )

getInlineContent() public méthode

public getInlineContent ( )

getTag() public méthode

public getTag ( )

isPhpVariable() public méthode

public isPhpVariable ( )

isSelfClosing() public méthode

public isSelfClosing ( )

useAttsHelper() public méthode

public useAttsHelper ( )