@@ -165,7 +165,7 @@ public function loadElements()
165
165
* @method public AddTableField()
166
166
* Add a field to a table
167
167
*/
168
- function AddTableField ($ table ,$ field ,$ mySQLType ,$ pgSqlType ,$ default )
168
+ function addTableField ($ table , $ field , $ mySQLType , $ pgSqlType , $ default )
169
169
{
170
170
$ sql = '' ;
171
171
if ($ default !== false )
@@ -187,7 +187,7 @@ function AddTableField($table,$field,$mySQLType,$pgSqlType,$default)
187
187
* @method public RemoveTableField()
188
188
* Remove a field from a table
189
189
*/
190
- function RemoveTableField ($ table ,$ field )
190
+ function removeTableField ($ table , $ field )
191
191
{
192
192
if ($ this ->dbtype == "PDO_PGSQL " )
193
193
{
@@ -203,7 +203,7 @@ function RemoveTableField($table,$field)
203
203
* @method public RenameTableField()
204
204
* Rename a field from a table
205
205
*/
206
- function RenameTableField ($ table ,$ field ,$ newfield ,$ mySQLType ,$ pgSqlType ,$ default )
206
+ function renameTableField ($ table , $ field , $ newfield , $ mySQLType , $ pgSqlType , $ default )
207
207
{
208
208
if ($ this ->dbtype == "PDO_PGSQL " )
209
209
{
@@ -222,7 +222,7 @@ function RenameTableField($table,$field,$newfield,$mySQLType,$pgSqlType,$default
222
222
* Check if the index exists.
223
223
* Only works for MySQL
224
224
*/
225
- function CheckIndexExists ($ table ,$ field )
225
+ function checkIndexExists ($ table , $ field )
226
226
{
227
227
if ($ this ->dbtype == "PDO_MYSQL " )
228
228
{
@@ -242,9 +242,9 @@ function CheckIndexExists($table,$field)
242
242
* @method public AddTableIndex()
243
243
* Add an index to a table
244
244
*/
245
- function AddTableIndex ($ table ,$ field )
245
+ function addTableIndex ($ table , $ field )
246
246
{
247
- if (!$ this ->CheckIndexExists ($ table ,$ field ))
247
+ if (!$ this ->checkIndexExists ($ table , $ field ))
248
248
{
249
249
if ($ this ->dbtype == "PDO_PGSQL " )
250
250
{
@@ -261,9 +261,9 @@ function AddTableIndex($table,$field)
261
261
* @method public RemoveTableIndex()
262
262
* Remove an index from a table
263
263
*/
264
- function RemoveTableIndex ($ table ,$ field )
264
+ function removeTableIndex ($ table , $ field )
265
265
{
266
- if ($ this ->CheckIndexExists ($ table ,$ field ))
266
+ if ($ this ->checkIndexExists ($ table , $ field ))
267
267
{
268
268
if ($ this ->dbtype == "PDO_PGSQL " )
269
269
{
@@ -280,7 +280,7 @@ function RemoveTableIndex($table,$field)
280
280
* @method public AddTablePrimaryKey()
281
281
* Add a primary key to a table
282
282
*/
283
- function AddTablePrimaryKey ($ table ,$ field )
283
+ function addTablePrimaryKey ($ table , $ field )
284
284
{
285
285
if ($ this ->dbtype == "PDO_PGSQL " )
286
286
{
@@ -296,7 +296,7 @@ function AddTablePrimaryKey($table,$field)
296
296
* @method public RemoveTablePrimaryKey()
297
297
* Remove a primary key from a table
298
298
*/
299
- function RemoveTablePrimaryKey ($ table )
299
+ function removeTablePrimaryKey ($ table )
300
300
{
301
301
if ($ this ->dbtype == "PDO_PGSQL " )
302
302
{
0 commit comments