Documentation

PresenceVerifierInterface

Table of Contents

getCount()  : int
Count the number of objects in a collection having the given value.
getMultiCount()  : int
Count the number of objects in a collection with the given values.

Methods

getCount()

Count the number of objects in a collection having the given value.

public getCount(string $collection, string $column, string $value[, int $excludeId = null ][, string $idColumn = null ][, array<string|int, mixed> $extra = [] ]) : int
Parameters
$collection : string
$column : string
$value : string
$excludeId : int = null
$idColumn : string = null
$extra : array<string|int, mixed> = []
Return values
int

getMultiCount()

Count the number of objects in a collection with the given values.

public getMultiCount(string $collection, string $column, array<string|int, mixed> $values[, array<string|int, mixed> $extra = [] ]) : int
Parameters
$collection : string
$column : string
$values : array<string|int, mixed>
$extra : array<string|int, mixed> = []
Return values
int

Search results