CommunicationType
extends BXQuery
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
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']
$allowedField
protected
mixed
$allowedField
= ['name']
$query
protected
mixed
$query
= []
__construct()
public
__construct([array<string|int, mixed> $allowedField = ['name'] ]) : mixed
Parameters
-
$allowedField
: array<string|int, mixed>
= ['name']
-
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
-
toJson()
public
toJson() : mixed