A Node Collection is the object you deal with in your templates, when handling a Vizy Field. You can also call the field directly to render as HTML.
{{ entry.vizyField }}
Method | Description |
---|---|
getField() | Returns the Vizy field model. |
getNodes() | Returns a collection of Node objects. |
renderHtml() | Return a string of pre-rendered HTML. This will use defaults for nodes, and any Block Type Templates for Vizy Blocks. |
all() | An alias for getNodes() . |
query() | Returns the an Array Query (opens new window) object for querying the collection of nodes. |
getRawNodes() | Returns the raw node data, exactly as it's stored in the database's content table. |