PageValues::formatFieldValue() PageValues::formatFieldValue(Page $page, Field $field, mixed $value) PageValues::formatFieldValue(Page $page, Field $field, mixed $value) | mixed | Return a value consistent with the page’s output formatting state | |
PageValues::getBracketValue() PageValues::getBracketValue(Page $page, string $key) PageValues::getBracketValue(Page $page, string $key, mixed $value = null) | mixed | Get value that ends with square brackets to get iterable value, filtered value or property value | |
PageValues::getDotValue() PageValues::getDotValue(Page $page, string $key) PageValues::getDotValue(Page $page, string $key) | mixed null | Given a 'field.subfield' type string traverse properties and return value | |
PageValues::getFieldFirstValue() PageValues::getFieldFirstValue(page $page, string $multiKey) PageValues::getFieldFirstValue(page $page, string $multiKey, bool $getKey = false) | null mixed | Given a Multi Key, determine if there are multiple keys requested and return the first non-empty value | |
PageValues::getFieldValue() PageValues::getFieldValue($page, string $key) PageValues::getFieldValue($page, string $key, string $selector = '') | null mixed | Get the value for a non-native page field, and call upon Fieldtype to join it if not autojoined | |
PageValues::getMarkup() PageValues::getMarkup(Page $page, string $key) PageValues::getMarkup(Page $page, string $key) | string | Return the markup value for a given field name or {tag} string | |
PageValues::getMultiple() PageValues::getMultiple(page $page, $keys) PageValues::getMultiple(page $page, $keys, bool $assoc = false) | array | Get multiple Page property/field values in an array | |
PageValues::getText() PageValues::getText(Page $page, string $key) PageValues::getText(Page $page, string $key, bool $oneLine = false, $entities = null) | string | Same as getMarkup() except returned value is plain text | |
PageValues::removeStatus() PageValues::removeStatus(Page $page, $statusFlag) PageValues::removeStatus(Page $page, $statusFlag) | Page | Remove the specified status from this page | |
PageValues::setName() PageValues::setName($page, string $value) PageValues::setName($page, string $value, $language = null) | Page | Set the page name, optionally for specific language | |
PageValues::setStatus() PageValues::setStatus(Page $page, $value) PageValues::setStatus(Page $page, $value) | Page | Set the status setting, with some built-in protections | |