indexer
extends tablelist
in package
Global search indexer, performs search
Tags
Table of Contents
- $cache : cache
- System-Cache
- $cacheModule : string
- Cache Modul
- $cacheName : string
- Cache name
- $config : config
- System-Config-Objekt
- $data : array<string|int, mixed>
- Data array
- $dbcon : database
- DB-Verbindung
- $events : events
- Event-Liste
- $language : language
- System-Sprachen-Objekt
- $notifications : notifications
- Notifications
- $table : string
- Tabellen-Name
- $instances : array<string|int, mixed>
- $models : array<string|int, mixed>
- List of model classes to search on
- $params : conditions
- Search contition object
- $result : resultSet
- Search result set
- __construct() : void
- Constructor
- __destruct() : void
- Konstruktor
- getData() : resultSet
- Processes search and returns data
- initDefaultModels() : mixed
- query() : bool
- Queries data
Properties
$cache
System-Cache
protected
cache
$cache
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Tags
$cacheName
Cache name
protected
string
$cacheName
= false
$config
System-Config-Objekt
protected
config
$config
$data
Data array
protected
array<string|int, mixed>
$data
= []
Tags
$dbcon
DB-Verbindung
protected
database
$dbcon
$events
Event-Liste
protected
events
$events
$language
System-Sprachen-Objekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
Tags
$table
Tabellen-Name
protected
string
$table
$instances
private
array<string|int, mixed>
$instances
= []
$models
List of model classes to search on
private
array<string|int, mixed>
$models
= []
$params
Search contition object
private
conditions
$params
$result
Search result set
private
resultSet
$result
Methods
__construct()
Constructor
public
__construct(conditions $params) : void
Parameters
- $params : conditions
Return values
void —__destruct()
Konstruktor
public
__destruct() : void
Return values
void —getData()
Processes search and returns data
public
getData() : resultSet
Return values
resultSet —initDefaultModels()
private
initDefaultModels() : mixed
Return values
mixed —query()
Queries data
private
query(array<string|int, mixed> &$cResults, array<string|int, mixed> &$sResults) : bool
Parameters
- $cResults : array<string|int, mixed>
- $sResults : array<string|int, mixed>