includes/class/ExpansionCache.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\ExpansionCache

Package: Broker
Cache for expansion modules
Parent(s)
\Broker\Database
Inherited_from
\Broker\Database  

Properties

>VPropertyprivatestring $classname
Classname
Details
Type
string
>VPropertypublicobject $configuration
Configuration
Details
Type
object
>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) : void

Constructor

Parameters
NameTypeDescription
$directorystring
methodpublic__construct(string $directory, object $configuration, string $classname) : void
inherited

Constructor

Inherited from:
Parameters
NameTypeDescription
$directorystring
$configurationobject
$classnamestring
methodpubliccheck(string $module, string | array $value, object $parameters) : array

Check

Parameters
NameTypeDescription
$modulestring
$valuestring | array
$parametersobject
Returns
TypeDescription
array
methodpublicclean() : void

Clean

methodpubliccreate(string $module, string | array $value, object $parameters, object $result) : void

Create

Parameters
NameTypeDescription
$modulestring
$valuestring | array
$parametersobject
$resultobject
methodprivatecreateHash(string $module, string $value, string $parameters) : string
static

Create hash

Parameters
NameTypeDescription
$modulestring
$valuestring
$parametersstring
Returns
TypeDescription
string
methodpublicdelete(string $hash) : void

Delete

Parameters
NameTypeDescription
$hashstring
methodpublicerrorCheck(string $source, \PDOStatement $query, boolean $removeDatabase) : void
inherited

Check for errors

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

Get

Parameters
NameTypeDescription
$hashstring
Returns
TypeDescription
object
methodpublicgetList(integer $start, integer $number) : array

Get list

Parameters
NameTypeDescription
$startinteger
$numberinteger
Returns
TypeDescription
array
methodpublicinit() : void

Initialize

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.