Pagefile::isNew()

Get or set “new” status of the Pagefile

This is true with a Pagefile that was created during this request and not loaded from DB.

Usage

// basic usage
$bool = $pagefile->isNew();

// usage with all arguments
$bool = $pagefile->isNew($set = null);

Arguments

NameType(s)Description
$set (optional)bool null

Return value

bool


Pagefile methods and properties

API reference based on ProcessWire core version 3.0.252