objects
PageFile
A File that is publicly visible and knows which page it belongs to.
The only way a file gains public visibility.
$pageFile
Phlat\Files\PageFile
extends File
6 methods
Properties (14)
| $pageFile->pageUuid | string | readonly | |
| $pageFile->filename | string | readonly | |
| $pageFile->fields | array | readonly | Custom metadata values, keyed by field name - declared under files/{type}/_index.json's own "fields" key ($this->type: image, video, audio, document, ...), resolved lazily via field()/fieldSet(). |
| $pageFile->uri | string | readonly | |
| $pageFile->name | ?string | readonly | |
| $pageFile->directory | ?string | readonly | |
| $pageFile->basename | ?string | readonly | |
| $pageFile->extension | ?string | readonly | |
| $pageFile->modified | ?int | readonly | |
| $pageFile->size | ?int | readonly | |
| $pageFile->contents | ?string | ||
| $pageFile->mime | ?string | ||
| $pageFile->type | ?string | ||
| $pageFile->path | string | readonly |
Show