Reference

Guide

$page->query()

Creates a string query, starting from the model

$page->query(string $query = null, string $expect = null): mixed

Parameters

Name Type Default Description
$query string null
$expect string null

Return type

mixed

Source code

kirby/src/Cms/Page.php#L1079