\Ceo\View\TagsFetchTag

Defines the 'fetch' template tag that provides backward compatibility with Gryphon-based templates. Objects returned will be wrapped in object compatibility wrappers.

Example:

{% fetch foo as article with [
 'limit': 1,
 'order': 'created desc',
 'where': 'status = 1'
] %}

// find articles with BOTH tags
{% fetch foo as article with [
 'limit': 12,
 'order': 'created desc',
 'where': 'status = 1'
 'withTags': ['frontpage', 'sports']
] %}

// find articles with EITHER tags
{% fetch foo as article with [
 'limit': 12,
 'order': 'created desc',
 'where': 'status = 1'
 'withTags': ['frontpage|sports']
] %}

Summary

Methods
Properties
Constants
getTag()
parse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getTag()

getTag() 

parse()

parse(\Twig_Token  $tok) 

Parameters

\Twig_Token $tok