API results for “files”
Pagefile::getFiles() class.method
Get all filenames associated with this file
Pagefiles::setPage(Page $page) class.method
Set the Page these files are assigned to
Pagefiles::setField(Field $field) class.method
Set the field these files are assigned to
Pagefiles::getPage() class.method
Get the page these files are assigned to
Pagefiles::getField() class.method
Get the field these files are assigned to
Pagefiles::add($item) class.method
Add a new Pagefile item or filename
Pagefiles::delete($item) class.method
Delete a pagefile item
Pagefiles::deleteAll() class.method
Delete all files associated with this Pagefiles instance, leaving a blank Pagefiles instance.
Pagefiles::rename(Pagefile $item, string $name) class.method
Queue a rename of a Pagefile
Pagefiles::clone(Pagefile $item, array $options = []) class.method
Duplicate the Pagefile and add to this Pagefiles instance
Pagefiles::path() class.method
Return the full disk path where files are stored
Pagefiles::url() class.method
Returns the web accessible index URL where files are stored
Pagefiles::findTag($tag) class.method
Return all Pagefile objects that have the given tag(s).
Pagefiles::getTag(string $tag) class.method
Return the first Pagefile that matches the given tag or NULL if no match
Pagefiles::tags($value = null) class.method
Get list of tags for all files in this Pagefiles array, or return files matching given tag(s)
Pagefiles::getFile(string $name) class.method
Get the Pagefile having the given basename, or null if not found.
Pagefiles::formatted($set = null) class.method
Get or set formatted state
Pagefiles::getFieldsPage() class.method
Get mock/placeholder Page object used for Pagefile custom fields
Pagefiles::getFiles() class.method
Get all filenames associated with this Pagefiles object
Pageimage::__construct(Pagefiles $pagefiles, string $filename) class.method
Construct a new Pageimage
Pageimage::getFiles() class.method
Get all filenames associated with this image
PagefilesManager::getFiles() class.method
Get an array of all published filenames on the current Page.
PagefilesManager::getFile(string $name) class.method
Get the Pagefile object containing the given filename.
PagefilesManager::copyFiles($toPath) class.method
Recursively copy all files managed by this PagefilesManager into a new path.
PagefilesManager::importFiles(string $fromPath, bool $move = false) class.method
Copy/import files from given path into the page’s files directory