Documentation

User extends BXQuery
in package

Table of Contents

Constants

allowedCriteria  = ['=', 'equal', '!=', 'not_equal', '>', 'greater_than', '<', 'less_than', '>=', 'greater_equal', '<=', 'less_equal', 'like', 'not_like', 'is_null', 'not_null', 'in', 'not_in']

Properties

$allowedField  : mixed
$query  : mixed

Methods

__construct()  : mixed
add()  : mixed
getRawQuery()  : mixed
remove()  : mixed
replace()  : mixed
toJson()  : mixed

Constants

allowedCriteria

public mixed allowedCriteria = ['=', 'equal', '!=', 'not_equal', '>', 'greater_than', '<', 'less_than', '>=', 'greater_equal', '<=', 'less_equal', 'like', 'not_like', 'is_null', 'not_null', 'in', 'not_in']

Properties

$allowedField

protected mixed $allowedField = ['name']

Methods

__construct()

public __construct() : mixed

add()

public add(string $field, string $term[, string $criteria = '=' ]) : mixed
Parameters
$field : string
$term : string
$criteria : string = '='

getRawQuery()

public getRawQuery() : mixed

remove()

public remove(string $field) : mixed
Parameters
$field : string

replace()

public replace(string $field, string $term, string $criteria) : mixed
Parameters
$field : string
$term : string
$criteria : string

        
On this page

Search results