Object | --Persistent | --Component | --CustomConnection | --Database
Use Database to specify the connection information so dataset components can connect to the database.
[line 67]
[line 50]
[line 43]
[line 46]
[line 44]
[line 51]
[line 52]
[line 45]
[line 47]
[line 48]
[line 49]
Database __construct( [ $aowner = null])
void BeginTrans( )
void CompleteTrans( [ $autocomplete = true])
boolean createDictionaryTable( )
array databases( )
void DBDate( $input)
void defaultCharset( )
void defaultDataBaseName( )
void defaultDebug( )
void defaultDictionary( )
void defaultDriverName( )
void defaultHost( )
void defaultUserName( )
void defaultUserPassword( )
void DoConnect( )
void DoDisconnect( )
object ResultSet execute( string $query, [ $params = array()])
object Resultset executelimit( string $query, integer $numrows, integer $offset, [array $params = array()])
array extractIndexes( string $table, [boolean $primary = FALSE])
string getCharset( )
Use this property to specify the charset to use when opening a connection, the value for this property varies depending on the database provider.
void getConnected( )
string getDatabaseName( )
boolean getDebug( )
Use this property if you want to get more information when a problem arises connecting to the database.
string getDictionary( )
string getDriverName( )
string getHost( )
void getOnAfterConnect( )
void getOnAfterDisconnect( )
void getOnBeforeConnect( )
void getOnBeforeDisconnect( )
string getUserName( )
string getUserPassword( )
void MetaFields( $tablename)
void Param( $input)
void Prepare( $query)
void PrepareSP( string $query)
Use this method before execute several times a stored procedure to get some performance gain.
void QuoteStr( $input)
boolean readConnected( )
array readDictionaryProperties( )
array readFieldDictionaryProperties( string $table, string $field)
void setCharset( $value)
void setConnected( $value)
void setDatabaseName( $value)
void setDebug( $value)
void setDictionary( $value)
void setDriverName( $value)
void setHost( $value)
void setOnAfterConnect( $value)
void setOnAfterDisconnect( $value)
void setOnBeforeConnect( $value)
void setOnBeforeDisconnect( $value)
void setUserName( $value)
void setUserPassword( $value)
array tables( )
void writeDictionaryProperties( $value)