Add the other existing $skin.css/.js to the message files too to be consistent
[lhc/web/wiklou.git] / includes / DatabaseOracle.php
index 27e8529..8d2a675 100644 (file)
@@ -1,8 +1,12 @@
 <?php
+/**
+ * @ingroup Database
+ * @file
+ */
 
 /**
  * This is the Oracle database abstraction layer.
- * @addtogroup Database
+ * @ingroup Database
  */
 class ORABlob {
        var $mData;
@@ -17,10 +21,10 @@ class ORABlob {
 }
 
 /**
- * The oci8 extension is fairly weak and doesn't support oci_num_rows, among 
- * other things.  We use a wrapper class to handle that and other 
+ * The oci8 extension is fairly weak and doesn't support oci_num_rows, among
+ * other things.  We use a wrapper class to handle that and other
  * Oracle-specific bits, like converting column names back to lowercase.
- * @addtogroup Database
+ * @ingroup Database
  */
 class ORAResult {
        private $rows;
@@ -87,7 +91,7 @@ class ORAResult {
 }
 
 /**
- * @addtogroup Database
+ * @ingroup Database
  */
 class DatabaseOracle extends Database {
        var $mInsertId = NULL;
@@ -128,6 +132,9 @@ class DatabaseOracle extends Database {
        function implicitGroupby() {
                return false;
        }
+       function implicitOrderby() {
+               return false;
+       }
        function searchableIPs() {
                return true;
        }
@@ -201,7 +208,7 @@ class DatabaseOracle extends Database {
                        $e = oci_error($this->mConn);
                        $this->reportQueryError($e['message'], $e['code'], $sql, __FUNCTION__);
                }
-               
+
                if (oci_execute($stmt, $this->execFlags()) == false) {
                        $e = oci_error($stmt);
                        $this->reportQueryError($e['message'], $e['code'], $sql, __FUNCTION__);
@@ -364,7 +371,7 @@ class DatabaseOracle extends Database {
 
                oci_free_statement($stmt);
        }
-       
+
        function tableName( $name ) {
                # Replace reserved words with better ones
                switch( $name ) {
@@ -527,7 +534,7 @@ class DatabaseOracle extends Database {
        }
 
        function reportQueryError($error, $errno, $sql, $fname, $tempIgnore = false) {
-               # Ignore errors during error handling to avoid infinite 
+               # Ignore errors during error handling to avoid infinite
                # recursion
                $ignore = $this->ignoreErrors(true);
                ++$this->mErrorCount;
@@ -650,10 +657,10 @@ echo "error!\n";
 
                if ( isset( $options['GROUP BY'] ) ) $preLimitTail .= " GROUP BY {$options['GROUP BY']}";
                if ( isset( $options['ORDER BY'] ) ) $preLimitTail .= " ORDER BY {$options['ORDER BY']}";
-               
+
                if (isset($options['LIMIT'])) {
                //      $tailOpts .= $this->limitResult('', $options['LIMIT'],
-               //              isset($options['OFFSET']) ? $options['OFFSET'] 
+               //              isset($options['OFFSET']) ? $options['OFFSET']
                //              : false);
                }
 
@@ -666,7 +673,7 @@ echo "error!\n";
                } else {
                        $useIndex = '';
                }
-               
+
                return array( $startOpts, $useIndex, $preLimitTail, $postLimitTail );
        }
 
@@ -689,6 +696,15 @@ echo "error!\n";
                return 0;
        }
 
-} // end DatabaseOracle class
+       function setFakeSlaveLag() {}
+       function setFakeMaster() {}
+
+       function getDBname() {
+               return $this->mDBname;
+       }
 
+       function getServer() {
+               return $this->mServer;
+       }
 
+} // end DatabaseOracle class