// not an internal compiler tag
if (strlen($tag) < 6 ||
substr($tag, -5
) != 'close'
) { // check if tag is a registered object
if (isset($this->smarty->registered_objects
[$tag]) &&
isset($parameter['object_methode'
])) { $methode =
$parameter['object_methode'
];
if (!
in_array($methode,
$this->smarty->registered_objects
[$tag][3
]) && (empty($this->smarty->registered_objects
[$tag][1
]) ||
in_array($methode,
$this->smarty->registered_objects
[$tag][1
]))) { return $this->
callTagCompiler('private_object_function',
$args,
$parameter,
$tag,
$methode);
} elseif (in_array($methode,
$this->smarty->registered_objects
[$tag][3
])) { return $this->
callTagCompiler('private_object_block_function',
$args,
$parameter,
$tag,
$methode);
} else { return $this->
trigger_template_error('unallowed methode "' .
$methode . '" in registered object "' .
$tag . '"',
$this->lex->taglineno
);
} } // check if tag is registered
foreach (array
(Smarty::PLUGIN_COMPILER, Smarty::PLUGIN_FUNCTION, Smarty::PLUGIN_BLOCK
) as $plugin_type) { if (isset($this->smarty->registered_plugins
[$plugin_type][$tag])) { // if compiler function plugin call it now
if ($plugin_type == Smarty::PLUGIN_COMPILER
) { $new_args = array
();
foreach ($args as $key =>
$mixed) { if (is_array($mixed)) { $new_args =
array_merge($new_args,
$mixed);
}