includes/class/Cache.class.php
Broker
- Package
- Broker
\Broker\Cache
Package: Broker






Cache
- Parent(s)
- \Broker\Database
- Inherited_from
- \Broker\Database
Properties
Methods


__construct(string $directory, \Broker\unknown $configuration) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$directory | string | |
$configuration | \Broker\unknown |


__construct(string $directory, \Broker\unknown $configuration, string $classname) : void
inherited
Constructor
Inherited from:Parameters
Name | Type | Description |
---|---|---|
$directory | string | |
$configuration | \Broker\unknown | |
$classname | string |


check(string $configuration, string $url, string $request) : array
Check
Parameters
Returns
Name | Type | Description |
---|---|---|
$configuration | string | |
$url | string | |
$request | string |
Type | Description |
---|---|
array |


create(string $configuration, string $url, string $request, string $requestAddition, \Broker\unknown $response) : void
Create
Parameters
Name | Type | Description |
---|---|---|
$configuration | string | |
$url | string | |
$request | string | |
$requestAddition | string | |
$response | \Broker\unknown |


createHash(string $configuration, string $url, string $request) : string
static
Create hash
Parameters
Returns
Name | Type | Description |
---|---|---|
$configuration | string | |
$url | string | |
$request | string |
Type | Description |
---|---|
string |


errorCheck(string $source, \PDOStatement $query, boolean $removeDatabase) : void
inherited
Check for errors
Inherited from:Parameters
Name | Type | Description |
---|---|---|
$source | string | |
$query | \PDOStatement | |
$removeDatabase | boolean |


getList(\Broker\number $start, \Broker\number $number) : array
Get list
Parameters
Returns
Name | Type | Description |
---|---|---|
$start | \Broker\number | |
$number | \Broker\number |
Type | Description |
---|---|
array |