From 478bae1a1072f2de18f46bf3fc3f0ce2643f4571 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Apr 2008 18:25:30 +0200 Subject: commit current phpDocumentor docs --- docs/phpfspot/PHPFSPOT_DB.html | 367 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 367 insertions(+) create mode 100644 docs/phpfspot/PHPFSPOT_DB.html (limited to 'docs/phpfspot/PHPFSPOT_DB.html') diff --git a/docs/phpfspot/PHPFSPOT_DB.html b/docs/phpfspot/PHPFSPOT_DB.html new file mode 100644 index 0000000..749fb63 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_DB.html @@ -0,0 +1,367 @@ + + + + + + Docs For Class PHPFSPOT_DB + + + + +
+

 Class PHPFSPOT_DB

+ + +
+
Description
+ +
+ +

PHPFSPOT_DB class

+

+ Located in /phpfspot_db.php (line 29) +

+ + +

+	
+			
+
+ + + + + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_DB + __construct + ( $parent,  $db_path) +
+
+  + void + __destruct + () +
+
+  + true + db_check_table_exists + ([string, $table_name = ""]) +
+
+  + void + db_exec + ([ $query = ""]) +
+
+  + void + db_fetchSingleRow + ([ $query = ""]) +
+
+  + void + db_fetch_object + ( $resource) +
+
+  + void + db_getNumRows + ([ $query = ""]) +
+
+  + void + db_query + ([ $query = ""]) +
+
+
+
+ + + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 43) +
+ + +

PHPFSPOT_DB class constructor

+

This constructor initially connect to the database.

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT_DB + + __construct + + ( $parent,  $db_path) +
+ +
    +
  • + + $parent
  • +
  • + + $db_path
  • +
+ + +
+ +
+ +
+ + Destructor __destruct (line 63) +
+ + +

PHPFSPOT_DB class deconstructor

+

This destructor will close the current database connection.

+
    +
  • access: public
  • +
+ +
+ void + + __destruct + + () +
+ + + +
+ +
+ +
+ + db_check_table_exists (line 253) +
+ + +

PHPFSPOT_DB check table exists

+

This function checks if the given table exists in the database

+
    +
  • return: if table found otherwise false
  • +
  • access: public
  • +
+ +
+ true + + db_check_table_exists + + ([string, $table_name = ""]) +
+ +
    +
  • + string, + $table_name: table name
  • +
+ + +
+ +
+ +
+ + db_exec (line 163) +
+ + +

PHPFSPOT_DB database query & execute

+

This function will execute a SQL query and return nothing.

+
    +
  • access: public
  • +
+ +
+ void + + db_exec + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_fetchSingleRow (line 206) +
+ + +

PHPFSPOT_DB fetch ONE row

+

This function will execute the given but only return the first result.

+
    +
  • access: public
  • +
+ +
+ void + + db_fetchSingleRow + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_fetch_object (line 189) +
+ + +
    +
  • access: public
  • +
+ +
+ void + + db_fetch_object + + ( $resource) +
+ +
    +
  • + + $resource
  • +
+ + +
+ +
+ +
+ + db_getNumRows (line 232) +
+ + +

PHPFSPOT_DB number of affected rows

+

This functions returns the number of affected rows but the given SQL query.

+
    +
  • access: public
  • +
+ +
+ void + + db_getNumRows + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_query (line 127) +
+ + +

PHPFSPOT_DB database query

+

This function will execute a SQL query and return the result as object.

+
    +
  • access: public
  • +
+ +
+ void + + db_query + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file -- cgit v1.2.3-18-g5258