Paginate_TokenParser

Type
Class
Namespace
Craft
Inherits
Craft\Paginate_TokenParser ยป Twig_TokenParser
Since
1.0

Paginates elements via a ElementCriteriaModel instance.

See also http://craftcms.com

View source (opens new window)

# Public Methods

Method Description
getTag() Gets the tag name associated with this token parser.
parse() Parses a token and returns a node.

# getTag()

Gets the tag name associated with this token parser.

View source (opens new window)

Returns

string (opens new window) โ€“ The tag name

Signature

public string getTag ( )

# parse()

Parses a token and returns a node.

View source (opens new window)

Arguments

  • $token (\Twig_Token)

Returns

\Twig_NodeInterface

Signature

public \Twig_NodeInterface parse ( \Twig_Token $token )