메소드 | 설명 | |
---|---|---|
__construct ( HamlPHP $hamlphp ) | ||
getLine ( $index ) | ||
getLines ( ) | ||
getNextLine ( ) | ||
parseFile ( string $fileName ) | Compiles haml from a file. | |
parseLines ( array $rawLines = [] ) | Compiles haml from an array of lines. | |
parseString ( string $rawString ) | Compiles haml from a string. | |
setHamlPhp ( HamlPHP $hamlphp ) |
메소드 | 설명 | |
---|---|---|
getIndentLevel ( string $line ) : integer | Returns the indent level of a line. | |
removeEmptyLines ( array $rawLines ) | @todo We CANNOT remove empty lines inside some filters (eg the planned markdown filter), actually, i think we shouldn't do this at all |
public parseLines ( array $rawLines = [] ) | ||
$rawLines | array |
public parseString ( string $rawString ) | ||
$rawString | string |