Take two:
[www-register-wizard.git] / database / drivers / oci8 / oci8_utility.php
1 <?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');\r
2 /**\r
3  * CodeIgniter\r
4  *\r
5  * An open source application development framework for PHP 4.3.2 or newer\r
6  *\r
7  * @package             CodeIgniter\r
8  * @author              ExpressionEngine Dev Team\r
9  * @copyright   Copyright (c) 2008, EllisLab, Inc.\r
10  * @license             http://codeigniter.com/user_guide/license.html\r
11  * @link                http://codeigniter.com\r
12  * @since               Version 1.0\r
13  * @filesource\r
14  */\r
15 \r
16 // ------------------------------------------------------------------------\r
17 \r
18 /**\r
19  * Oracle Utility Class\r
20  *\r
21  * @category    Database\r
22  * @author              ExpressionEngine Dev Team\r
23  * @link                http://codeigniter.com/user_guide/database/\r
24  */\r
25 class CI_DB_oci8_utility extends CI_DB_utility {\r
26 \r
27         /**\r
28          * List databases\r
29          *\r
30          * @access      private\r
31          * @return      bool\r
32          */\r
33         function _list_databases()\r
34         {\r
35                 return FALSE;\r
36         }\r
37 \r
38         // --------------------------------------------------------------------\r
39 \r
40         /**\r
41          * Optimize table query\r
42          *\r
43          * Generates a platform-specific query so that a table can be optimized\r
44          *\r
45          * @access      private\r
46          * @param       string  the table name\r
47          * @return      object\r
48          */\r
49         function _optimize_table($table)\r
50         {\r
51                 return FALSE; // Is this supported in Oracle?\r
52         }\r
53 \r
54         // --------------------------------------------------------------------\r
55 \r
56         /**\r
57          * Repair table query\r
58          *\r
59          * Generates a platform-specific query so that a table can be repaired\r
60          *\r
61          * @access      private\r
62          * @param       string  the table name\r
63          * @return      object\r
64          */\r
65         function _repair_table($table)\r
66         {\r
67                 return FALSE; // Is this supported in Oracle?\r
68         }\r
69 \r
70         // --------------------------------------------------------------------\r
71 \r
72         /**\r
73          * Oracle Export\r
74          *\r
75          * @access      private\r
76          * @param       array   Preferences\r
77          * @return      mixed\r
78          */\r
79         function _backup($params = array())\r
80         {\r
81                 // Currently unsupported\r
82                 return $this->db->display_error('db_unsuported_feature');\r
83         }\r
84 \r
85         /**\r
86          *\r
87          * The functions below have been deprecated as of 1.6, and are only here for backwards\r
88          * compatibility.  They now reside in dbforge().  The use of dbutils for database manipulation\r
89          * is STRONGLY discouraged in favour if using dbforge.\r
90          *\r
91          */\r
92 \r
93         /**\r
94          * Create database\r
95          *\r
96          * @access      public\r
97          * @param       string  the database name\r
98          * @return      bool\r
99          */\r
100         function _create_database($name)\r
101         {\r
102                 return FALSE;\r
103         }\r
104 \r
105         // --------------------------------------------------------------------\r
106 \r
107         /**\r
108          * Drop database\r
109          *\r
110          * @access      private\r
111          * @param       string  the database name\r
112          * @return      bool\r
113          */\r
114         function _drop_database($name)\r
115         {\r
116                 return FALSE;\r
117         }\r
118 \r
119 }\r
120 \r
121 /* End of file oci8_utility.php */\r
122 /* Location: ./system/database/drivers/oci8/oci8_utility.php */