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

Public Methods

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

getTag()

Defines the tag name.

View source

Returns

string

Signature

public string getTag ( )

parse()

Parses {% requireAdmin %} tags.

View source

Arguments

  • $token (\Twig_Token)

Returns

Craft\RequireAdmin_Node

Signature

public Craft\RequireAdmin_Node parse ( \Twig_Token $token )