private function HamlNestedRenderer::getIndent in Sassy 7
5 calls to HamlNestedRenderer::getIndent()
- HamlNestedRenderer::renderClosingTag in phamlp/
haml/ renderers/ HamlNestedRenderer.php - * Renders the closing tag of an element
- HamlNestedRenderer::renderContent in phamlp/
haml/ renderers/ HamlNestedRenderer.php - * Renders content. *
- HamlNestedRenderer::renderEndCodeBlock in phamlp/
haml/ renderers/ HamlNestedRenderer.php - * Renders the end of a code block
- HamlNestedRenderer::renderOpeningTag in phamlp/
haml/ renderers/ HamlNestedRenderer.php - * Renders the opening tag of an element
- HamlNestedRenderer::renderStartCodeBlock in phamlp/
haml/ renderers/ HamlNestedRenderer.php - * Renders the start of a code block
File
- phamlp/
haml/ renderers/ HamlNestedRenderer.php, line 74
Class
- HamlNestedRenderer
- HamlNestedRenderer class. Blocks and content are indented according to their nesting level. @package PHamlP @subpackage Haml.renderers
Code
private function getIndent($node) {
return str_repeat(' ', 2 * $node->level);
}