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) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $directory | string | |
| $configuration | object |

__construct(string $directory, object $configuration, string $classname) : voidinherited
Constructor
Inherited from:Parameters
| Name | Type | Description |
|---|---|---|
| $directory | string | |
| $configuration | object | |
| $classname | string |

check(string $configuration, string $url, string $request) : arrayCheck
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) : voidCreate
Parameters
| Name | Type | Description |
|---|---|---|
| $configuration | string | |
| $url | string | |
| $request | string | |
| $requestAddition | string | |
| $response | object |

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

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

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