Queriable_Filter
Queriable_Filter provides a single method "attach_statement".
The method is responsible for attaching a statement to the filtering query.
Tags
Table of Contents
- attach_statement() : void
- Attach a statement to the filtering query.
Methods
attach_statement()
Attach a statement to the filtering query.
public
attach_statement(Query &$statement[, bool $is_first = false ]) : void
This method is responsible for attaching a statement to the filtering query, making it possible to query the database for the filtered products.
Parameters
- $statement : Query
-
The query object to modify.
- $is_first : bool = false
-
Whether this is the first filter in the query.