Skip to content

Citation::getPage

James Cobban edited this page Sep 14, 2023 · 2 revisions

Citation::getPage

Up: class Citation

This method returns the contents of the srcDetail field which contains the information, such as a page number, to identify the specific record within a documentary source that contains the information to support the event or fact cited. This is a synonym for $citation->getDetail().

    $detail           = $citation->getPage();

The return value is a string. If the value of the srcDetail field is null, this returns an empty string.

Next: $citation->getText()

Clone this wiki locally