includes/class/Cache.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\Cache

Package: Broker
Cache
Parent(s)
\Broker\Database
Inherited_from
\Broker\Database  

Properties

>VPropertyprivatestring $classname
Classname
Details
Type
string
>VPropertypublic\Broker\unknown $configuration
Configuration
Details
Type
\Broker\unknown
>VPropertypublic\PDO $database
Database
Details
Type
\PDO
>VPropertypublicstring $filename
Filename
Details
Type
string
>VPropertyprivate\Broker\number $lifetime = 3000
Lifetime
Default value3000Details
Type
\Broker\number

Methods

methodpublic__construct(string $directory, \Broker\unknown $configuration) : void

Constructor

Parameters
NameTypeDescription
$directorystring
$configuration\Broker\unknown
methodpublic__construct(string $directory, \Broker\unknown $configuration, string $classname) : void
inherited

Constructor

Inherited from:
Parameters
NameTypeDescription
$directorystring
$configuration\Broker\unknown
$classnamestring
methodpubliccheck(string $configuration, string $url, string $request) : array

Check

Parameters
NameTypeDescription
$configurationstring
$urlstring
$requeststring
Returns
TypeDescription
array
methodpublicclean() : void

Clean

methodpubliccreate(string $configuration, string $url, string $request, string $requestAddition, \Broker\unknown $response) : void

Create

Parameters
NameTypeDescription
$configurationstring
$urlstring
$requeststring
$requestAdditionstring
$response\Broker\unknown
methodprivatecreateHash(string $configuration, string $url, string $request) : string
static

Create hash

Parameters
NameTypeDescription
$configurationstring
$urlstring
$requeststring
Returns
TypeDescription
string
methodpublicerrorCheck(string $source, \PDOStatement $query, boolean $removeDatabase) : void
inherited

Check for errors

Inherited from:
Parameters
NameTypeDescription
$sourcestring
$query\PDOStatement
$removeDatabaseboolean
methodpublicget(string $hash) : array

Get

Parameters
NameTypeDescription
$hashstring
Returns
TypeDescription
array
methodpublicgetList(\Broker\number $start, \Broker\number $number) : array

Get list

Parameters
NameTypeDescription
$start\Broker\number
$number\Broker\number
Returns
TypeDescription
array
methodpublicinit() : void

Init

methodpublicinit() : void
abstractinherited

Init

Inherited from:
methodpublicnumber() : \Broker\number
inherited

Get number

Inherited from:
Returns
TypeDescription
\Broker\number
methodpublicreset() : void
inherited

Reset

Inherited from:
Documentation was generated by phpDocumentor 2.8.5.