Skip to content

Kirby 5.0.2

$fileActions->copy()

Copy the file to the given page

$fileActions->copy(Kirby\Cms\Page $page): Kirby\Cms\FileActions

Parameters

Name Type Default
$pagerequired Kirby\Cms\Page no default value

Return type

Kirby\Cms\FileActions

This method does not modify the existing $fileactions object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\FileActions