MIOLO20
|
Membros públicos | |
__construct ($conf) | |
_connect ($dbhost, $LoginDB, $LoginUID, $LoginPWD, $persistent=true, $port='5432') | |
_close () | |
_error ($resource=null) | |
_execute ($sql) | |
_createquery () | |
_chartotimestamp ($timestamp, $format='DD/MM/YYYY HH24:MI:SS') | |
_chartodate ($date, $format='DD/MM/YYYY') | |
_timestamptochar ($timestamp, $format='DD/MM/YYYY HH24:MI:SS') | |
_datetochar ($date, $format='DD/MM/YYYY') | |
throwError ($result) | |
getErrorField ($result, $fieldcode=PGSQL_DIAG_MESSAGE_PRIMARY) | |
Membros públicos herdados de MConnection | |
_error () | |
_createproc () | |
_chartotimestamp ($timestamp) | |
_chartodate ($date) | |
_timestamptochar ($timestamp) | |
_datetochar ($date) | |
Open ($dbhost, $LoginDB, $LoginUID, $LoginPWD, $persistent=true, $parameters=NULL, $port=NULL) | |
Close () | |
GetError () | |
GetErrors () | |
GetErrorCount () | |
CheckError () | |
Execute ($sql) | |
Parse ($sql) | |
Bind ($sql) | |
getQuery ($sql, $maxrows=null, $offset=null) | |
getQueryCommand ($sqlCommand, $maxrows=null, $offset=null) | |
ExecProc ($sql, $aParams=null) | |
Outros membros herdados | |
Campos de Dados herdados de MConnection | |
$db | |
$id | |
$traceback = array() | |
$affectedrows | |
$_miolo | |
Brief Class Description. Complete Class Description.
Definido na linha 6 do ficheiro mconnection.class.
__construct | ( | $conf | ) |
Brief Description. Complete Description.
$conf | (tipo) desc |
Reimplementado de MConnection.
Definido na linha 17 do ficheiro mconnection.class.
_chartodate | ( | $date, | |
$format = 'DD/MM/YYYY' ) |
Brief Description. Complete Description.
$date | (tipo) desc |
Definido na linha 159 do ficheiro mconnection.class.
_chartotimestamp | ( | $timestamp, | |
$format = 'DD/MM/YYYY HH24:MI:SS' ) |
Brief Description. Complete Description.
$timestamp | (tipo) desc |
Definido na linha 145 do ficheiro mconnection.class.
_close | ( | ) |
Brief Description. Complete Description.
Reimplementado de MConnection.
Definido na linha 64 do ficheiro mconnection.class.
_connect | ( | $dbhost, | |
$LoginDB, | |||
$LoginUID, | |||
$LoginPWD, | |||
$persistent = true, | |||
$port = '5432' ) |
Brief Description. Complete Description.
$dbhost | (tipo) desc |
$LoginDB | (tipo) desc |
$LoginUID | (tipo) desc |
$LoginPWD | (tipo) desc |
$persistent | (tipo) desc |
Reimplementado de MConnection.
Definido na linha 35 do ficheiro mconnection.class.
_createquery | ( | ) |
Brief Description. Complete Description.
Reimplementado de MConnection.
Definido na linha 131 do ficheiro mconnection.class.
_datetochar | ( | $date, | |
$format = 'DD/MM/YYYY' ) |
Brief Description. Complete Description.
$date | (tipo) desc |
Definido na linha 187 do ficheiro mconnection.class.
_error | ( | $resource = null | ) |
Brief Description. Complete Description.
$resource | (tipo) desc |
Definido na linha 78 do ficheiro mconnection.class.
_execute | ( | $sql | ) |
Brief Description. Complete Description.
$sql | (tipo) desc |
Reimplementado de MConnection.
Definido na linha 92 do ficheiro mconnection.class.
_timestamptochar | ( | $timestamp, | |
$format = 'DD/MM/YYYY HH24:MI:SS' ) |
Brief Description. Complete Description.
$timestamp | (tipo) desc |
Definido na linha 173 do ficheiro mconnection.class.
getErrorField | ( | $result, | |
$fieldcode = PGSQL_DIAG_MESSAGE_PRIMARY ) |
Get database error message according to the given postgres constant http://php.net/manual/en/function.pg-result-error-field.php
(string) | $fieldcode The error field identifier |
Definido na linha 615 do ficheiro mconnection.class.
throwError | ( | $result | ) |
Check Postgres errors and throw the appropriate exception All the error codes can be found at http://www.postgresql.org/docs/8.4/static/errcodes-appendix.html
Definido na linha 196 do ficheiro mconnection.class.