public function renderInternal(Mustache_Context $context, $indent = '') { $buffer = ''; $newContext = array(); $buffer .= $indent . '<!DOCTYPE html> '; $buffer .= $indent . '<html> '; $buffer .= $indent . '<head>...</head> '; $buffer .= $indent . '<body> '; $buffer .= $indent . ' '; $blockFunction = $context->findInBlock('content'); if (is_callable($blockFunction)) { $buffer .= call_user_func($blockFunction, $context); } else { } $buffer .= ' '; $buffer .= $indent . '</body> '; $buffer .= $indent . '</html>'; return $buffer; }
public function renderInternal(Mustache_Context $context, $indent = '') { $buffer = ''; $newContext = array(); $buffer .= $indent . '<div class="basic-block"> '; $buffer .= $indent . ' '; $blockFunction = $context->findInBlock('content'); if (is_callable($blockFunction)) { $buffer .= call_user_func($blockFunction, $context); } else { } $buffer .= ' '; $buffer .= $indent . '</div>'; return $buffer; }