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()

Signature

public Craft\IncludeResource_TokenParser __construct ( $tag, $allowTagPair = false )

# decideBlockEnd()

Signature

public void decideBlockEnd ( \Twig_Token $token )

# getTag()

Signature

public string getTag ( )

# parse()

Parses resource include tags.

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

Craft\IncludeResource_Node

Signature

public Craft\IncludeResource_Node parse ( \Twig_Token $token )