IncludeResource_TokenParser
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\IncludeResource_TokenParser »
Twig_TokenParser
- Since
- 1.0
Class IncludeResource_TokenParser
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor |
decideBlockEnd() | |
getTag() | Defines the tag name. |
parse() | Parses resource include tags. |
# __construct()
Constructor
View source (opens new window)
Arguments
$tag
(string (opens new window))$allowTagPair
Returns
Signature
public Craft\IncludeResource_TokenParser __construct ( $tag, $allowTagPair = false )
# decideBlockEnd()
Signature
public void decideBlockEnd ( \Twig_Token $token )
# getTag()
Signature
public string getTag ( )
# parse()
Signature
public Craft\IncludeResource_Node parse ( \Twig_Token $token )