Contains multiple scripts.
Field | Type | Description |
object_type | string | "scripts" |
is_valid | true/false | true if this contains at least one javascript |
prepended | list of scripts | scripts that will be listed at the beginning of the items list |
fetched | list of scripts | The primary list of scripts to be included in the items list |
appended | list of scripts | scripts that will be listed at the end of the items list |
appended_unique | list of scripts | scripts that will be listed at the end of the items list, excluding any scripts that are already included in either the prepended or fetched lists |
items | list of scripts | The full list of scripts in the proper order and uniqueness, including prepended, fetched, and appended scripts |
size | number | The total number of items in the list of items, including prepended, fetched, and appended scripts |
limit | number | The maximum number of scripts that could have been fetched dynamically from the database |
start | number | The 1-based index of the first javascript that was (or would have been) dynamically fetched from the database |
page | number | The 1-based index of the first "page" of scripts that could have been fetched dynamically from the database - as determined by the start and limit properties |
total_count | number | The total number of scripts in the database that matched the provided filter parameters when fetching the list of fetched scripts |
total_pages | number | The total number of "pages" of results that matched the provided filter parameters when fetching the list of fetched scripts - as determined by the total_count and limit properties |
output | html | The default output that the scripts will produce when it is output directly to the template - using the "output_in_list" property of each javascript in the items list |