CRM_Contact_Form_Search_Custom_FullText_AbstractPartialQuery
abstract class CRM_Contact_Form_Search_Custom_FullText_AbstractPartialQuery
Properties
protected string | $name | ||
protected string | $label |
Methods
Class constructor.
Get label.
Get name.
Execute a query and write out a page worth of matches to $detailTable.
No description
No description
Run queries.
Create a SQL expression for matching against a list of.
For any records in $toTable that originated with this query, append file information.
No description
No description
Details
at line 51
__construct(string $name, string $label)
Class constructor.
at line 61
string
getLabel()
Get label.
at line 70
string
getName()
Get name.
at line 96
abstract array
fillTempTable(string $queryText, string $entityIDTableName, string $detailTable, array|null $queryLimit, array|null $detailLimit)
Execute a query and write out a page worth of matches to $detailTable.
TODO: Consider removing $entityIDTableName from the function-signature. Each implementation could be responsible for its own temp tables.
TODO: Understand why $queryLimit and $detailLimit are different
at line 101
bool
isActive()
at line 109
fillCustomInfo($tables, $extends)
at line 151
array
runQueries(string $queryText, array $tables, string $entityIDTableName, int $limit)
Run queries.
at line 264
string
matchText(string $table, array|string $fullTextFields, string $queryText)
Create a SQL expression for matching against a list of.
text columns.
at line 277
moveFileIDs(string $toTable, string $parentIdColumn, array $files)
For any records in $toTable that originated with this query, append file information.