PagesLoader::getNativeColumnValue()

Get value of of a native column in pages table for given page ID

Available since version 3.0.156.

Usage

$int = $pagesLoader->getNativeColumnValue($id, string $column);

Arguments

NameType(s)Description
$idint Page

Page ID

$columnstring

Return value

int string bool

Returns int/string value on success or boolean false if no matching row

Exceptions

Method can throw exceptions on error:

  • \PDOException or WireException


PagesLoader methods and properties

API reference based on ProcessWire core version 3.0.251