You are here

function Smarty_Compiler::_push_tag in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty_Compiler.class.php \Smarty_Compiler::_push_tag()

push opening tag-name, file-name and line-number on the tag-stack

Parameters

string the opening tag's name:

2 calls to Smarty_Compiler::_push_tag()
Smarty_Compiler::_compile_block_tag in includes/moodle/lib/smarty/Smarty_Compiler.class.php
compile block function tag
Smarty_Compiler::_compile_tag in includes/moodle/lib/smarty/Smarty_Compiler.class.php
Compile a template tag

File

includes/moodle/lib/smarty/Smarty_Compiler.class.php, line 2236

Class

Smarty_Compiler
Template compiling class @package Smarty

Code

function _push_tag($open_tag) {
  array_push($this->_tag_stack, array(
    $open_tag,
    $this->_current_line_no,
  ));
}