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, object $configuration) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$directory | string | |
$configuration | object |
__construct(string $directory, object $configuration, string $classname) : void
inherited
Constructor
Inherited from:Parameters
Name | Type | Description |
---|---|---|
$directory | string | |
$configuration | object | |
$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, object $response) : void
Create
Parameters
Name | Type | Description |
---|---|---|
$configuration | string | |
$url | string | |
$request | string | |
$requestAddition | string | |
$response | object |
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 |