Pagefiles::deleteAll()

Delete all files associated with this Pagefiles instance, leaving a blank Pagefiles instance.

The actual deletion of the files does not take effect until $page->save().

Usage

$pagefiles->deleteAll();

Return value

$this

Object instance it was called from (method supports fluent interface).


Pagefiles methods and properties

API reference based on ProcessWire core version 3.0.251