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

Public Methods

MethodDescription
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

Returns

string โ€“ The tag name

Signature

public string getTag ( )

parse()

Parses a token and returns a node.

View source

Arguments

  • $token (\Twig_Token)

Returns

\Twig_NodeInterface

Signature

public \Twig_NodeInterface parse ( \Twig_Token $token )