includes/class/Database.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\Database

abstract
Package: Broker
Database
Children
\Broker\Cache
\Broker\Collection
\Broker\Session
\Broker\ExpansionCache
\Broker\Status

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

Methods

methodpublic__construct(string $directory, object $configuration, string $classname) : void

Constructor

Parameters
NameTypeDescription
$directorystring
$configurationobject
$classnamestring
methodpublicerrorCheck(string $source, \PDOStatement $query, boolean $removeDatabase) : void

Check for errors

Parameters
NameTypeDescription
$sourcestring
$query\PDOStatement
$removeDatabaseboolean
methodpublicinit() : void
abstract

Init

methodpublicnumber() : \Broker\number

Get number

Returns
TypeDescription
\Broker\number
methodpublicreset() : void

Reset

Documentation was generated by phpDocumentor 2.8.5.