package Default
inherited_from \Zend\Db\Sql\Predicate\In

 Methods

Constructor

__construct(null|string|array $identifier = null, null|array|\Zend\Db\Sql\Select $valueSet = null
Inherited

Parameters

$identifier

nullstringarray

$valueSet

nullarray\Zend\Db\Sql\Select

Return array of parts for where statement

getExpressionData() : array
Inherited

Returns

array

Get identifier of comparison

getIdentifier() : null | string | array
Inherited

Returns

nullstringarray

Gets set of values in IN comparision

getValueSet() : array | \Zend\Db\Sql\Select
Inherited

Returns

array\Zend\Db\Sql\Select

Set identifier for comparison

setIdentifier(string|array $identifier) : \Zend\Db\Sql\Predicate\In
Inherited

Parameters

$identifier

stringarray

Returns

\Zend\Db\Sql\Predicate\In

Set set of values for IN comparison

setValueSet(array|\Zend\Db\Sql\Select $valueSet) : \Zend\Db\Sql\Predicate\In
Inherited

Parameters

$valueSet

array\Zend\Db\Sql\Select

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

\Zend\Db\Sql\Predicate\In

Normalize Argument

normalizeArgument(mixed $argument, string $defaultType = self::TYPE_VALUE) : array
Inherited

Parameters

$argument

mixed

$defaultType

string

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

array

buildNormalizedArgument()

buildNormalizedArgument(mixed $argument, string $argumentType) : array
Inherited

Parameters

$argument

mixed

$argumentType

string

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

array

 Properties

 

$allowedTypes

$allowedTypes : array<mixed,string>

Default

array(self::TYPE_IDENTIFIER, self::TYPE_LITERAL, self::TYPE_SELECT, self::TYPE_VALUE)
 

$identifier

$identifier 

Default

 

$specification

$specification 

Default

'%s NOT IN %s'
inherited_from \Zend\Db\Sql\Predicate\In::specification
 

$specification

$specification 

Default

'%s IN %s'
 

$valueSet

$valueSet 

Default

 

$valueSpecSpecification

$valueSpecSpecification 

Default

'%%s IN (%s)'