constructor __construct [line 214]
method beginTrans [line 63]
void beginTrans(
[
$args = array()])
|
|
Parameters:
method completeTrans [line 68]
void completeTrans(
[
$autocomplete = true])
|
|
Parameters:
method createDictionaryTable [line 424]
boolean createDictionaryTable(
)
|
|
Creates the dictionary table on the database
Use this method to create the dictionary table on the database you are connection. This method issues the create table command and creates the table with the right structure. You have to connect to the database before use this method and Dictionary property must be set to the tablename.
method databases [line 455]
Return all the databases using the connection information
This method returns an array with all the databases stored on the server. Not working yet.
method dbDate [line 199]
method defaultCharset [line 180]
method defaultDebug [line 92]
method defaultDialect [line 174]
method doConnect [line 280]
method doDisconnect [line 296]
method execute [line 230]
object execute(
string
$query, [array
$params = array()])
|
|
Executes a query
Use this method to execute an SQL sentence on the database server
Parameters:
method executelimit [line 253]
object executelimit(
string
$query, integer
$numrows, integer
$offset, [array
$params = array()])
|
|
Executes a limited query on the database
Use this method to execute an SQL sentence on the database server using LIMIT clause.
Parameters:
method extractIndexes [line 358]
array &extractIndexes(
string
$table, [boolean
$primary = FALSE])
|
|
Return indexes for a table
This method extract the indexes from the table and returns an array with that information.
Parameters:
method getCharset [line 178]
method getConnected [line 79]
method getDatabaseName [line 116]
string getDatabaseName(
)
|
|
Specifies the name of the database to associate with this database component.
Use DatabaseName to specify the name of the database to use with a database component.
Note: Setting DatabaseName when the Connected property is true requires you to close and reopen the database.
method getDebug [line 90]
Sets the debug information provided by the component.
Use this property, when set to true, to get more information about the connection process to address any issue you get.
method getDialect [line 172]
Specifies the dialect to be used when connecting to the server
Reserved for future use.
method getDictionary [line 103]
Specifies the tablename on this database that holds dictionary information
A dictionary is a set of information about each field of each table, which data-aware components use to show information about the table in a human-readable format, for example, the title for each field, the width for a column, etc
method getHost [line 126]
This properties specifies where to find the server to connect to.
Use this property to set the host that runs the server you want to connect to.
method getOnAfterConnect [line 151]
void getOnAfterConnect(
)
|
|
method getOnAfterDisconnect [line 157]
void getOnAfterDisconnect(
)
|
|
method getOnBeforeConnect [line 154]
void getOnBeforeConnect(
)
|
|
method getOnBeforeDisconnect [line 160]
void getOnBeforeDisconnect(
)
|
|
method getUserName [line 137]
The username you want to use to connect to the database server.
Set this property with the name of the user you want to use to connect to the database server.
method getUserPassword [line 148]
string getUserPassword(
)
|
|
The password for the username you want to use to connect to the database server.
Set this property with the password for the user you want to use to connect to the database server.
method metaFields [line 50]
void metaFields(
$tablename)
|
|
Parameters:
method param [line 204]
method prepare [line 184]
method prepareSP [line 194]
Prepares a stored procedure for execution
Not finished
Parameters:
method quoteStr [line 209]
method readConnected [line 77]
method readDictionaryProperties [line 410]
array readDictionaryProperties(
)
|
|
Array containing all the information in array format about the dictionary
Use this property to provide information about the dictionary but using a PHP array instead a database table.
method readFieldDictionaryProperties [line 312]
array readFieldDictionaryProperties(
string
$table, string
$field)
|
|
Return properties for a field
Parameters:
method setCharset [line 179]
method setConnected [line 80]
void setConnected(
$value)
|
|
Parameters:
method setDatabaseName [line 117]
void setDatabaseName(
$value)
|
|
Parameters:
method setDebug [line 91]
method setDialect [line 173]
method setDictionary [line 104]
void setDictionary(
$value)
|
|
Parameters:
method setHost [line 127]
method setOnAfterConnect [line 152]
void setOnAfterConnect(
$value)
|
|
Parameters:
method setOnAfterDisconnect [line 158]
void setOnAfterDisconnect(
$value)
|
|
Parameters:
method setOnBeforeConnect [line 155]
void setOnBeforeConnect(
$value)
|
|
Parameters:
method setOnBeforeDisconnect [line 161]
void setOnBeforeDisconnect(
$value)
|
|
Parameters:
method setUserName [line 138]
void setUserName(
$value)
|
|
Parameters:
method setUserPassword [line 149]
void setUserPassword(
$value)
|
|
Parameters:
method tables [line 468]
array tables(
[
$ttype = false], [
$showSchema = false], [
$mask = false])
|
|
Return tables on this database
This method returns an array containing all the table names stored in the database.
Parameters:
method writeDictionaryProperties [line 411]
void writeDictionaryProperties(
$value)
|
|
Parameters: