Smarty Internal Plugin Compile Ifclose Class
package | Smarty |
---|---|
subpackage | Compiler |
closeTag(object $compiler, array | string $expectedTag) : mixed
Raise an error if this stack-top doesn't match with expected opening tags
inherited_from | \Smarty_Internal_CompileBase::closeTag() |
---|
object
compiler object
array
string
the expected opening tag names
mixed
any type the opening tag's name or saved datacompile(array $args, object $compiler, array $parameter) : string
array
array with attributes from parser
object
compiler object
array
array with compilation parameter
string
compiled codegetAttributes(object $compiler, array $attributes) : array
The attributes passed for the tag to compile are checked against the list of required and optional attributes. Required attributes must be present. Optional attributes are check against the corresponding list. The keyword '_any' specifies that any attribute will be accepted as valid
inherited_from | \Smarty_Internal_CompileBase::getAttributes() |
---|
object
compiler object
array
attributes applied to the tag
array
of mapped attributes for further processingopenTag(object $compiler, string $openTag, mixed $data)
Optionally additional data can be saved on stack
inherited_from | \Smarty_Internal_CompileBase::openTag() |
---|
object
compiler object
string
the opening tag's name
mixed
optional data saved
$option_flags : array
inherited_from | \Smarty_Internal_CompileBase::$$option_flags |
---|
$optional_attributes : array
inherited_from | \Smarty_Internal_CompileBase::$$optional_attributes |
---|
$required_attributes : array
inherited_from | \Smarty_Internal_CompileBase::$$required_attributes |
---|
$shorttag_order : array
inherited_from | \Smarty_Internal_CompileBase::$$shorttag_order |
---|