ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
interface.ilDBManager.php
Go to the documentation of this file.
1<?php
2
8interface ilDBManager
9{
10
15 public function listTables($database = null);
16
17
22 public function listSequences($database = null);
23
24
31 public function createConstraint($table, $name, $definition);
32
33
38 public function listTableFields($table);
39
40
45 public function listTableConstraints($table);
46
47
54 public function createSequence($seq_name, $start = 1, $options = array());
55
56
61 public function listTableIndexes($table);
62
63
70 public function alterTable($name, $changes, $check);
71
72
79 public function createIndex($table, $name, $definition);
80
81
87 public function dropIndex($table, $name);
88
89
94 public function dropSequence($seq_name);
95
96
103 public function dropConstraint($table, $name, $primary = false);
104
105
110 public function dropTable($name);
111
112 //
113 // NOT YET IMPLEMENTED
114 //
115
116 // /**
117 // * @param $name
118 // * @return mixed
119 // */
120 // public function createDatabase($name);
121 //
122 //
123 // /**
124 // * @param $name
125 // * @return mixed
126 // */
127 // public function dropDatabase($name);
128 //
129 //
130 // /**
131 // * @param $name
132 // * @param $fields
133 // * @param array $options
134 // * @return mixed
135 // */
136 // public function createTable($name, $fields, $options = array());
137 //
138 // /**
139 // * @return mixed
140 // */
141 // public function listDatabases();
142 //
143 //
144 // /**
145 // * @return mixed
146 // */
147 // public function listUsers();
148 //
149 //
150 // /**
151 // * @return mixed
152 // */
153 // public function listFunctions();
154 //
155 //
156 // /**
157 // * @param null $table
158 // * @return mixed
159 // */
160 // public function listTableTriggers($table = null);
161 //
162 //
163 // /**
164 // * @param null $database
165 // * @return mixed
166 // */
167 // public function listViews($database = null);
168 //
169 //
170
171 //
172}
An exception for terminatinating execution or to throw for unit testing.
Interface ilDBManager.
dropIndex($table, $name)
dropConstraint($table, $name, $primary=false)
dropTable($name)
createConstraint($table, $name, $definition)
dropSequence($seq_name)
alterTable($name, $changes, $check)
listTableConstraints($table)
createSequence($seq_name, $start=1, $options=array())
listSequences($database=null)
listTableIndexes($table)
createIndex($table, $name, $definition)
listTableFields($table)
listTables($database=null)
if($format !==null) $name
Definition: metadata.php:230