RequireAdmin_TokenParser

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

Class RequireAdmin_TokenParser

See also http://craftcms.com

View source (opens new window)

# Public Methods

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

# getTag()

Signature

public string getTag ( )

# parse()

Parses {% requireAdmin %} tags.

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

Craft\RequireAdmin_Node

Signature

public Craft\RequireAdmin_Node parse ( \Twig_Token $token )