| Name | Type | Description |
|---|---|---|
| is_valid | Boolean | Returns true if this contains at least one entity |
| prepended | list | entities that will be listed at the beginning of the items list |
| fetched | list | The primary list of entities to be included in the items list |
| appended | list | entities that will be listed at the end of the items list |
| appended_unique | list | pages that will be listed at the end of the items list, excluding any pages that are already included in either the prepended or fetched lists |
| items | list | The full list of entities in the proper order and uniqueness, including prepended, fetched, and appended entities |
| size | Integer | The total number of items in the list of items, including prepended, fetched, and appended entities |
| limit | Integer | The maximum number of entities that could have been fetched dynamically from the database |
| start | Integer | The 1-based index of the first entity that was (or would have been) dynamically fetched from the database |
| page | Integer | The 1-based index of the first "page" of entities that could have been fetched dynamically from the database - as determined by the start and limit properties |
| total_count | Integer | The total number of entities in the database that matched the provided filter parameters when fetching the list of fetched entities |
| total_pages | Integer | The total number of "pages" of results that matched the provided filter parameters when fetching the list of fetched entities - as determined by the total_count and limit properties |
| output | String | The default output that the entities will produce when it is output directly to the template - using the "output_in_list" property of each entity in the items list |
Contains a collection of content, including pagination-related information.
{% entities %}
{{ data }}
{{ entity }}
number
integer
list
{% entities output_to_template? [[var, set, or assign]? variable]? output_to_template? = arguments %}
arguments
Fetches a list of entities.
{% articles %}
{{ entities }}
Demonstrates how to to map a collection of entities into a human-readable list of titles linking to the entities
Display linked titles from a list of items
CopyThe linked_title property is a shortcut to output the entity title, optionally inside a link if the entity has a url. This example takes it one step further by outputting the list according to common English usage - as a comma-separated list with the last item preceeded by "and" and handling lists with only one or two items appropriately. If there are no items in the list, then the output is "(none)".
Demonstrates how to search only blog post entities by a query parameter.
Search only blog post entities by a query parameter
CopyEncode a string for output inside other HTML markup.
Encode HTML entities in a string
CopyDecode any encoded HTML entities inside a string.
Decode HTML entities in a string
Copy