PAGE Methods

topic()

Reads the topic entry from the backend's domain settings. Use title() to make the topic part of the page's title (see examples below for details).

string topic()

Return

Domain topic setting


Read domain topic

$PAGE->topic()
RETURN: 'Developer's Guide'

Use topic in page's title

$PAGE->title($PAGE->topic() .(($title = $PAGE->title())? ' // ' .$title: ''))
RETURN: 'Developer's Guide'