PagesParents::parents method

Rebuild pages_parents table for given page

This descends into both parents, and children that are themselves parents, and this method already calls the rebuildBranch() method when appropriate.

Available since version 3.0.156.

Usage

$int = $pages->parents->rebuild(Page $page);

Arguments

NameType(s)Description
$pagePage

Return value

int


$pages->parents methods and properties

API reference based on ProcessWire core version 3.0.252