Redirect_TokenParser

Type
Class
Namespace
Craft
Inherits
Craft\Redirect_TokenParser » Twig_TokenParser
Since
1.0

Class Redirect_TokenParser

See also http://craftcms.com

View source (opens new window)

# Public Methods

Method Description
getTag() Defines the tag name.
parse() Parses {% redirect %} tags.

# getTag()

Signature

public string getTag ( )

# parse()

Parses {% redirect %} tags.

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

Craft\Redirect_Node

Signature

public Craft\Redirect_Node parse ( \Twig_Token $token )