Fieldtype::getLoadQueryAutojoin() method

Return the query used for Autojoining this field (if different from getLoadQuery) or NULL if autojoin not allowed.

Usage

$databaseQuerySelect = $fieldtype->getLoadQueryAutojoin(Field $field, DatabaseQuerySelect $query);

Arguments

NameType(s)Description
fieldField
queryDatabaseQuerySelect

Return value

DatabaseQuerySelect null


Fieldtype methods and properties

API reference based on ProcessWire core version 3.0.248

Latest news

“ProcessWire is like a breath of fresh air. So powerful yet simple to build with and customise, and web editors love it too.” —Margaret Chatwin, Web developer