Queriable_Filter

Queriable_Filter provides a single method "attach_statement".

The method is responsible for attaching a statement to the filtering query.

Tags
codeCoverageIgnore
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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.

Return values
void

Search results