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







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

__construct(string $directory, object $configuration, \Broker\Cache $cache) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $directory | string | |
| $configuration | object | |
| $cache | \Broker\Cache |

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

create(string $brokerRequest, boolean $status = false) : arrayCreate status
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $brokerRequest | string | |
| $status | boolean |
| Type | Description |
|---|---|
| array |

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

generateKey(\Broker\number $length = 20) : stringGenerate key
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $length | \Broker\number |
| Type | Description |
|---|---|
| string |

get(string $key) : arrayGet status
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| array |

getCollection() : \Broker\CollectionGet (or create) collection
Returns
| Type | Description |
|---|---|
| \Broker\Collection |

getList(integer $start, integer $number) : arrayList
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $start | integer | |
| $number | integer |
| Type | Description |
|---|---|
| array |