private function HamlParser::hasContent in Sassy 7
* Return a value indicating if the line has content. *
Parameters
array line: * @return boolean true if the line has a content, false if not
3 calls to HamlParser::hasContent()
- HamlParser::parseElement in phamlp/
haml/ HamlParser.php - * Parse an element. *
- HamlParser::parseFilter in phamlp/
haml/ HamlParser.php - * Parse a filter. *
- HamlParser::parseHamlComment in phamlp/
haml/ HamlParser.php - * Parse a Haml comment. * If the comment is an empty comment eat all child lines. *
File
- phamlp/
haml/ HamlParser.php, line 676
Class
- HamlParser
- HamlParser class. Parses {@link http://haml-lang.com/ Haml} view files. @package PHamlP @subpackage Haml
Code
private function hasContent($line) {
return !empty($line[self::HAML_CONTENT]);
}