TemplateHelper
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\TemplateHelper
- Since
- 1.0
Class TemplateHelper
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
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 (opens new window)
Arguments
$value
Returns
\Twig_Markup
Signature
public static \Twig_Markup getRaw ( $value )
# paginateCriteria()
Paginates an ElementCriteriaModel instance.
View source (opens new window)
Arguments
$criteria
(Craft\ElementCriteriaModel)
Returns
Signature
public static array paginateCriteria ( Craft\ElementCriteriaModel $criteria )