RequirePermission_TokenParser

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

Class RequirePermission_TokenParser

See also http://craftcms.com

View source (opens new window)

# Public Methods

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

# getTag()

Signature

public string getTag ( )

# parse()

Parses {% requirePermission %} tags.

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

Craft\RequirePermission_Node

Signature

public Craft\RequirePermission_Node parse ( \Twig_Token $token )