com\setasign\Konquadrat\Datasource\Custom

Hashable

File: /Konquadrat/src/Datasource/Custom/Hashable.php

Class hierarchy

Implements

Summary

Constants

SPECIAL_SEARCH_FIELDS

public const \com\setasign\Konquadrat\Datasource\Searchable::SPECIAL_SEARCH_FIELDS = array ( 0 => '_fullSearch', 1 => '_doubletFilter', 2 => '_customFilter', 3 => '_history', )

Properties

$count

private ?int Hashable::$count

$objectFinder


Methods

__construct()

public Hashable::__construct (
\com\setasign\SetaFramework\Config\Config $objectFinder,
\com\setasign\SetaFramework\Config\Config $config
)
Parameters
$objectFinder : \com\setasign\SetaFramework\Config\Config
 
$config : \com\setasign\SetaFramework\Config\Config
 

addSearch()

public Hashable::addSearch (
string $field,
string $comparator,
mixed $value
): void
Parameters
$field : string
 
$comparator : string
 
$value : mixed
 

getConfig()

public \com\setasign\Konquadrat\Datasource\AbstractDatasource::getConfig (
void
): \com\setasign\SetaFramework\Config\Config

getCount()

public Hashable::getCount (
void
): int

getData()

public Hashable::getData (
?int $limit = null,
?int $offset = null
): array
Parameters
$limit : ?int
 
$offset : ?int
 

getFilters()

public Hashable::getFilters (
void
): array

isLimitable()

public Hashable::isLimitable (
void
): bool

isSearchable()

public Hashable::isSearchable (
?string $field = null
): bool
Parameters
$field : ?string