PHP 인터페이스 Overtrue\Validation\PresenceVerifierInterface

파일 보기 프로젝트 열기: overtrue/validation

공개 메소드들

메소드 설명
getCount ( string $collection, string $column, string $value, integer $excludeId = null, string $idColumn = null, array $extra = [] ) : integer Count the number of objects in a collection having the given value.
getMultiCount ( string $collection, string $column, array $values, array $extra = [] ) : integer Count the number of objects in a collection with the given values.

메소드 상세

getCount() 공개 메소드

Count the number of objects in a collection having the given value.
public getCount ( string $collection, string $column, string $value, integer $excludeId = null, string $idColumn = null, array $extra = [] ) : integer
$collection string
$column string
$value string
$excludeId integer
$idColumn string
$extra array
리턴 integer

getMultiCount() 공개 메소드

Count the number of objects in a collection with the given values.
public getMultiCount ( string $collection, string $column, array $values, array $extra = [] ) : integer
$collection string
$column string
$values array
$extra array
리턴 integer