| Class | Description |
|---|---|
| database_driver |
Find whether the database may run GROUP BY unfettered with restrictions on the SELECT'd fields having to be represented in it or aggregate functions
Encode a LIKE string comparision fragement for the database system. The pattern is a mixture of characters and ? and % wilcard symbols.
Escape a string so it may be inserted into a query. If SQL statements are being built up and passed using db_query then it is essential that this is used for security reasons. Otherwise, the abstraction layer deals with the situation.
Assemble part of a WHERE clause for doing full-text search
Get the ID of the first row in an auto-increment table (used whenever we need to reference the first).
Find whether expression ordering support is present
Find whether full-text-search is present
Find whether subquery support is present
Encode an SQL statement fragment for a conditional to see if two strings are equal.
Encode an SQL statement fragment for a conditional to see if two strings are not equal.
Get the name of the forum database.
Get the host of the forum database ('localhost', for example).
Get the forum database password.
Get the forum database username.
Get the name of the database.
Get the host of the database ('localhost', for example).
Get the database password.
Get the database username.
Get the type of database installed, such as MySQL, or Oracle.
Get the table prefixes used for all ocPortal tables, commonly used when you are installing ocPortal in the same database as your forums. The default table prefix is 'ocp4_'. Note that anything that might write to an arbitrary db, must ask that db for it's table prefix (if it needs it of course... the db abstracts away most needs for it)
Find ocPortal was installed to use persistent database connections or not.
Standard code module initialisation function.
Get the time difference in microseconds between two PHP microtimes.
Original source: php.net
Called once our DB connection becomes active.
Documentation generated on Sun, 02 Jan 2011 23:12:45 +0000 by phpDocumentor 1.4.3