Smarty Internal Plugin Compile Nocache Classv
| 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() |
|---|
objectcompiler object
arraystringthe expected opening tag names
mixedany type the opening tag's name or saved datacompile(array $args, object $compiler) : bool
This tag does not generate compiled output. It only sets a compiler flag.
arrayarray with attributes from parser
objectcompiler object
boolgetAttributes(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() |
|---|
objectcompiler object
arrayattributes applied to the tag
arrayof 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() |
|---|
objectcompiler object
stringthe opening tag's name
mixedoptional 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 |
|---|