SearchProperty
MMO\core\attributes · 1 symbol · generated 5 Oct 2026
SearchProperty
SearchProperty.php:21Declares a named, user-facing search field on a tArrayProperties-using class: a title/view for the UI, and a filter-expression template (buildFilters) that turns a user's search input into an actual FilterGroup. Every class using tArrayProperties automatically gets a 'label' SearchProperty.
- Namespace
MMO\core\attributes
Index
| config readonly | ||
| filters readonly | ||
| name readonly | ||
| order readonly | ||
| title readonly | ||
| view readonly | ||
| buildFilters($inputs) | Render $filters against $inputs into an actual filter, ready to apply to a query. | |
| __construct($name, $title, $filters, $view, $config, $order) |
Properties6
config
readonly- Type
- array
filters
readonly- Type
- string
name
readonly- Type
- string
order
readonly- Type
- int
title
readonly- Type
- string
view
readonlyMethods2
buildFilters($inputs)
SearchProperty.php:56Render $filters against $inputs into an actual filter, ready to apply to a query.
| $inputs | array | values for the {$xxx} placeholders in $filters |
| returns | FilterGroup |