$page->inventory()

Reads the directory and returns an inventory array

  • return (array)

The inventory array contains a list of all inventory items of the page, like the content files, children, files, meta files, etc.

Example

<?php
a::show($page->inventory());
?>