Class Core

Description

Core class

Contains everything required to run a db object

Located in /manager/includes/core.class.inc.php (line 7)


	
			
Direct descendents
Class Description
DocumentParser ClipperCMS Document Parser
Install Core class
Variable Summary
mixed $config
mixed $db
mixed $dumpSQL
mixed $queryCode
mixed $queryTime
Method Summary
string getFullTableName (string $tbl)
float getMicroTime ()
void getSettings ()
void getUserSettings ()
void messageQuit ([string $msg = 'unspecified error'], [string $query = ''], [boolean $is_error = true], [string $nr = ''], [string $file = ''], [string $source = ''], [string $text = ''], [string $line = ''])
Variables
mixed $config (line 11)
  • access: public

Redefined in descendants as:
mixed $db (line 10)
  • access: public
mixed $dumpSQL = false (line 9)
  • access: public
mixed $executedQueries = 0 (line 9)
  • access: public
mixed $queryCode = '' (line 9)
  • access: public
mixed $queryTime = 0 (line 9)
  • access: public
Methods
getFullTableName (line 46)

Returns the full table name based on db settings

  • return: Table name with prefix
string getFullTableName (string $tbl)
  • string $tbl: Table name
getMicroTime (line 18)

Returns the current micro time

float getMicroTime ()
getSettings (line 55)

Get system settings and user settings

void getSettings ()

Redefined in descendants as:
getUserSettings (line 75)

Get user settings

void getUserSettings ()

Redefined in descendants as:
messageQuit (line 36)

Exits with error message

void messageQuit ([string $msg = 'unspecified error'], [string $query = ''], [boolean $is_error = true], [string $nr = ''], [string $file = ''], [string $source = ''], [string $text = ''], [string $line = ''])
  • string $msg: Default: unspecified error
  • string $query: Default: Empty string
  • boolean $is_error: Default: true
  • string $nr: Default: Empty string
  • string $file: Default: Empty string
  • string $source: Default: Empty string
  • string $text: Default: Empty string
  • string $line: Default: Empty string

Redefined in descendants as:

Documentation generated on Fri, 21 Jun 2013 12:37:00 +0100 by phpDocumentor 1.4.4