SearchForm
final class SearchForm (View source)
Builds the column data shared by the table search and zoom search forms.
Methods
__construct(DatabaseInterface $dbi, Relation $relation, Template $template, Config $config)
No description
getColumns(string $database, string $table)
Gets all the columns of a table along with their types, collations and whether null or not.
array
getColumnProperties(SearchColumns $columns, int $searchIndex, int $columnIndex, string $formId)
Provides a column's type, collation, operators list, and criteria value to display in table search form
Details
__construct(DatabaseInterface $dbi, Relation $relation, Template $template, Config $config)
No description
SearchColumns
getColumns(string $database, string $table)
Gets all the columns of a table along with their types, collations and whether null or not.
array
getColumnProperties(SearchColumns $columns, int $searchIndex, int $columnIndex, string $formId)
Provides a column's type, collation, operators list, and criteria value to display in table search form