PresenceVerifierInterface (Validation)

PresenceVerifierInterface

interface PresenceVerifierInterface (View source)

Methods

int getCount( string $collection, string $column, string $value, int $excludeId = null, string $idColumn = null, array $extra = array())

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

int getMultiCount( string $collection, string $column, array $values, array $extra = array())

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

登录查看完整内容