private function HamlParser::isBlock in Sassy 7
* Return a value indicating if the line's tag is a block level tag. *
Parameters
array line: * @return boolean true if the line's tag is is a block level tag, false if not
1 call to HamlParser::isBlock()
- HamlParser::parseElement in phamlp/
haml/ HamlParser.php - * Parse an element. *
File
- phamlp/
haml/ HamlParser.php, line 778
Class
- HamlParser
- HamlParser class. Parses {@link http://haml-lang.com/ Haml} view files. @package PHamlP @subpackage Haml
Code
private function isBlock($line) {
return !in_array($line[self::HAML_TAG], $this->inlineTags);
}