vB_Utility_Template_ParserNode_Curly_Spritepath
extends vB_Utility_Template_ParserNode_Curly
in package
Table of Contents
Methods
- __construct() : mixed
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- compile() : string
- Compile this tag. Note that you must account for children as well.
- createFromNode() : self
- validate() : array<string|int, mixed>
- Validate the use of this tag. Can validate any aspects of the tag, including attributes, siblings, parents, and children
Methods
__construct()
public
__construct(vB_Xml_Node $main_node, array<string|int, mixed>|bool $allowedTags, array<string|int, mixed>|bool $allowedCurlies, vB_Utility_Template_Parser $parser) : mixed
Parameters
- $main_node : vB_Xml_Node
- $allowedTags : array<string|int, mixed>|bool
- $allowedCurlies : array<string|int, mixed>|bool
- $parser : vB_Utility_Template_Parser
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(mixed $serialized) : void
Parameters
- $serialized : mixed
__wakeup()
public
__wakeup() : void
compile()
Compile this tag. Note that you must account for children as well.
public
compile() : string
Return values
string —Evalable string
createFromNode()
public
static createFromNode(vB_Xml_Node $main_node, array<string|int, mixed>|bool $allowedTags, array<string|int, mixed>|bool $allowedCurlies, vB_Utility_Template_Parser $parser) : self
Parameters
- $main_node : vB_Xml_Node
- $allowedTags : array<string|int, mixed>|bool
- $allowedCurlies : array<string|int, mixed>|bool
- $parser : vB_Utility_Template_Parser
Return values
selfvalidate()
Validate the use of this tag. Can validate any aspects of the tag, including attributes, siblings, parents, and children
public
validate() : array<string|int, mixed>
Return values
array<string|int, mixed> —Array of errors