Abstract base search class. Provides general properties and functions for child implementations.

author Murat Purc

 Methods

Setter for debug

setDebug(bool $bDebug) 

Parameters

$bDebug

bool

Initialises some properties

__construct(\DB_Contenido $oDB, bool $bDebug) 

Parameters

$oDB

\DB_Contenido

Optional database instance

$bDebug

bool

Optional, flag to enable debugging

Main debug function, prints dumps parameter if debugging is enabled

_debug(string $msg, mixed $var) 

Parameters

$msg

string

Some text

$var

mixed

The variable to dump

 Properties

 

Flag to enable debug

$bDebug : bool

 

Contenido configuration data

$cfg : array

 

Client id

$client : int

 

Language id of a client

$lang : int

 

Contenido database object

$oDB : \DB_Contenido