From 87cdfc1751d1e2f16cf651393049c5f6fb1a8efb Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 15 Nov 2014 14:03:28 -0800 Subject: doc updates --- doc/html/classdba__postgres.html | 457 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 457 insertions(+) create mode 100644 doc/html/classdba__postgres.html (limited to 'doc/html/classdba__postgres.html') diff --git a/doc/html/classdba__postgres.html b/doc/html/classdba__postgres.html new file mode 100644 index 000000000..a5b082c49 --- /dev/null +++ b/doc/html/classdba__postgres.html @@ -0,0 +1,457 @@ + + + + + + +The Red Matrix: dba_postgres Class Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Matrix +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
dba_postgres Class Reference
+
+
+
+Inheritance diagram for dba_postgres:
+
+
+ + +dba_driver + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 connect ($server, $port, $user, $pass, $db)
 
 q ($sql)
 
 escape ($str)
 
 escapebin ($str)
 
 unescapebin ($str)
 
 close ()
 
 quote_interval ($txt)
 
 escape_identifier ($str)
 
 optimize_table ($table)
 
 concat ($fld, $sep)
 
- Public Member Functions inherited from dba_driver
 connect ($server, $port, $user, $pass, $db)
 Connect to the database. More...
 
 q ($sql)
 Perform a DB query with the SQL statement $sql. More...
 
 escape ($str)
 Escape a string before being passed to a DB query. More...
 
 close ()
 Close the database connection. More...
 
 __construct ($server, $port, $user, $pass, $db, $install=false)
 
 get_null_date ()
 
 get_install_script ()
 
 utcnow ()
 
 install ($server, $user, $pass, $db)
 
 dbg ($dbg)
 Sets the database driver's debugging state. More...
 
 __destruct ()
 
 quote_interval ($txt)
 
 optimize_table ($table)
 
 concat ($fld, $sep)
 
 escapebin ($str)
 
 unescapebin ($str)
 
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

const INSTALL_SCRIPT ='install/schema_postgres.sql'
 
const NULL_DATE = '0001-01-01 00:00:00'
 
const UTC_NOW = "now() at time zone 'UTC'"
 
- Public Attributes inherited from dba_driver
const INSTALL_SCRIPT ='install/schema_mysql.sql'
 
const NULL_DATE = '0000-00-00 00:00:00'
 
const UTC_NOW = 'UTC_TIMESTAMP()'
 
 $connected = false
 
 $error = false
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from dba_driver
 $debug = 0
 
 $db
 
+

Member Function Documentation

+ +
+
+ + + + + + + +
dba_postgres::close ()
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
dba_postgres::concat ( $fld,
 $sep 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
dba_postgres::connect ( $server,
 $port,
 $user,
 $pass,
 $db 
)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::escape ( $str)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::escape_identifier ( $str)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::escapebin ( $str)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::optimize_table ( $table)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::q ( $sql)
+
+ +

Referenced by connect().

+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::quote_interval ( $txt)
+
+ +
+
+ +
+
+ + + + + + + + +
dba_postgres::unescapebin ( $str)
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
const dba_postgres::INSTALL_SCRIPT ='install/schema_postgres.sql'
+
+ +
+
+ +
+
+ + + + +
const dba_postgres::NULL_DATE = '0001-01-01 00:00:00'
+
+ +
+
+ +
+
+ + + + +
const dba_postgres::UTC_NOW = "now() at time zone 'UTC'"
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ -- cgit v1.2.3