getAttributes($compiler, $args); if ($_attr['nocache'] === true) { $compiler->trigger_template_error('nocache option not allowed', $compiler->parser->lex->line - 1); } if (strpos($_attr['file'], '$_tmp') !== false) { $compiler->trigger_template_error('illegal value for file attribute', $compiler->parser->lex->line - 1); } // save template name $compiler->extendsFileName = $_attr['file']; // process {block} in child template mode $compiler->inheritanceChild = true; $compiler->has_code = false; return ''; } }