Contao Utils Bundle

CreateWhereForSerializedBlobResult
in package

Table of Contents

Properties

$field  : string
$values  : array<string|int, mixed>

Methods

__construct()  : mixed
createAndWhere()  : string
Return the where query with AND operation and placeholder for each value ('REGEXP (?)'). Values can be obtained from the values property.
createInlineAndWhere()  : string
Return the where query with AND operation for each value. Values are inlined in the query ('REGEXP (':"3"')' instead of 'REGEXP (?)').
createInlineOrWhere()  : string
Return the where query with OR operation for each value. Values are inlined in the query ('REGEXP (':"3"')' instead of 'REGEXP (?)').
createOrWhere()  : string
Return the where query with OR operation and placeholder for each value ('REGEXP (?)'). Values can be obtained from the values property.
getValueList()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $field, array<string|int, mixed> $values) : mixed
Parameters
$field : string
$values : array<string|int, mixed>

createAndWhere()

Return the where query with AND operation and placeholder for each value ('REGEXP (?)'). Values can be obtained from the values property.

public createAndWhere() : string
Return values
string

createInlineAndWhere()

Return the where query with AND operation for each value. Values are inlined in the query ('REGEXP (':"3"')' instead of 'REGEXP (?)').

public createInlineAndWhere() : string
Return values
string

createInlineOrWhere()

Return the where query with OR operation for each value. Values are inlined in the query ('REGEXP (':"3"')' instead of 'REGEXP (?)').

public createInlineOrWhere() : string
Return values
string

createOrWhere()

Return the where query with OR operation and placeholder for each value ('REGEXP (?)'). Values can be obtained from the values property.

public createOrWhere() : string
Return values
string

        
On this page

Search results