Skip to content

Kirby 4.5.0

$api->files()

Returns the all readable files for the parent

$api->files(string $path): Kirby\Cms\Files

Parameters

Name Type Default Description
$path * string Path to file's parent model

Return type

Kirby\Cms\Files

Exceptions

Type Description
Kirby\Exception\NotFoundException if the file cannot be found

Parent class

Kirby\Cms\Api