options normally includes the keys: host, user, password,
database, prefix, and select.
Parameters options Database options
Destructors
__destruct( ) : boolean
Runs when the object is destroyed. Ensures the database connection is closed cleanly.
Returns true on success
Methods
addQuoted( quoted : mixed ) : void
Adds a new value that should always be encapsulated in quotes. quoted can be a string or
an array of strings.
Parameters quoted String or array of values to quote
BeginTrans( ) : void
Emulates ADOdb functionality.
This method must be overridden in subclasses. If you intend to use this, please ensure the
database driver supports it.
CommitTrans( ) : string
Emulates ADOdb functionality.
This method must be overridden in subclasses. If you intend to use this, please ensure the
database driver supports it.
connected( ) : boolean
Determines if the database connection is alive.
Returns true if currently connected to the database
debug( debug : int ) : void
Sets debug mode; 0 = disabled, 1 = enabled.
Pages:
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612