MIOLO26
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MConnection
Diagrama de heranças da classe MConnection
FirebirdConnection MSSQLConnection MysqlConnection ODBCConnection Oracle8Connection PostgresConnection SQLiteConnection

Membros públicos

 __construct ($db)
 
 _connect ($dbhost, $loginDB, $loginUID, $loginPWD, $persistent=TRUE, $parameters=NULL)
 
 _close ()
 
 _error ()
 
 _escape ($sql)
 
 _execute ($sql)
 
 _createquery ()
 
 _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, $parameters)
 
 getQuery ($sql, $maxrows=NULL, $offset=NULL, $fetchType=NULL)
 
 getQueryCommand ($sqlCommand, $maxrows=NULL, $offset=NULL, $fetchType=NULL)
 

Campos de Dados

 $db
 
 $id
 
 $traceback = array()
 
 $affectedrows
 
 $_miolo
 

Descrição detalhada

Documentação dos Construtores & Destrutor

◆ __construct()

Documentação das funções

◆ _chartodate()

_chartodate ( $date)
abstract
Parâmetros
$datestring Date to convert.
Retorna
string SQL instruction.

Reimplementado em FirebirdConnection, MysqlConnection, ODBCConnection e SQLiteConnection.

◆ _chartotimestamp()

_chartotimestamp ( $timestamp)
abstract
Parâmetros
$timestampstring Timestamp to convert.
Retorna
string SQL instruction.

Reimplementado em FirebirdConnection, MysqlConnection, ODBCConnection e SQLiteConnection.

◆ _close()

◆ _connect()

_connect ( $dbhost,
$loginDB,
$loginUID,
$loginPWD,
$persistent = TRUE,
$parameters = NULL )
abstract

◆ _createquery()

_createquery ( )
abstract

◆ _datetochar()

_datetochar ( $date)
abstract
Parâmetros
$datestring Date to convert.
Retorna
string SQL instruction.

Reimplementado em FirebirdConnection, MysqlConnection, ODBCConnection e SQLiteConnection.

◆ _error()

_error ( )
abstract

Reimplementado em MysqlConnection.

◆ _escape()

_escape ( $sql)

Reimplementado em Oracle8Connection.

◆ _execute()

◆ _timestamptochar()

_timestamptochar ( $timestamp)
abstract
Parâmetros
$timestampstring Timestamp to convert.
Retorna
string SQL instruction.

Reimplementado em FirebirdConnection, MysqlConnection, ODBCConnection e SQLiteConnection.

◆ bind()

bind ( $sql,
$parameters )

◆ checkError()

checkError ( )

◆ close()

close ( )

◆ execute()

execute ( $sql)

◆ getError()

getError ( )

◆ getErrorCount()

getErrorCount ( )

◆ getErrors()

getErrors ( )

◆ getQuery()

getQuery ( $sql,
$maxrows = NULL,
$offset = NULL,
$fetchType = NULL )

◆ getQueryCommand()

getQueryCommand ( $sqlCommand,
$maxrows = NULL,
$offset = NULL,
$fetchType = NULL )

◆ open()

open ( $dbhost,
$loginDB,
$loginUID,
$loginPWD,
$persistent = TRUE,
$parameters = NULL,
$port = NULL )

Open a connection to the specified data source.

Parâmetros
string$dbhostDatabase host.
string$loginDBDatabase login.
string$loginUIDDatabase user.
string$loginPWDDatabase user password.
boolean$persistentWhether the connection must be persistent.
array$parametersParameters.
integer$portPort number.
Retorna
string Connection identifier.

◆ parse()

parse ( $sql)

Documentação dos campos e atributos

◆ $_miolo

$_miolo

◆ $affectedrows

$affectedrows

◆ $db

$db

◆ $id

$id

◆ $traceback

$traceback = array()

A documentação para esta classe foi gerada a partir do seguinte ficheiro: