TemplateHelper

Type
Class
Namespace
Craft
Inherits
Craft\TemplateHelper
Since
1.0

Class TemplateHelper

See also http://craftcms.com

View source

Public Methods

MethodDescription
getRaw()Returns a string wrapped in a \Twig_Markup object
paginateCriteria()Paginates an ElementCriteriaModel instance.

getRaw()

Returns a string wrapped in a \Twig_Markup object

View source

Arguments

  • $value

Returns

\Twig_Markup

Signature

public static \Twig_Markup getRaw ( $value )

paginateCriteria()

Paginates an ElementCriteriaModel instance.

View source

Arguments

Returns

array

Signature

public static array paginateCriteria ( Craft\ElementCriteriaModel $criteria )