[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/admin/xmldb/actions/view_structure_php/ -> view_structure_php.class.php (summary)

(no description)

File Size: 332 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

view_structure_php:: (6 methods):
  init()
  invoke()
  create_table_php()
  drop_table_php()
  rename_table_php()
  upgrade_savepoint_php()


Class: view_structure_php  - X-Ref

init()   X-Ref
Init method, every subclass will have its own


invoke()   X-Ref
Invoke method, every class will have its own
returns true/false on completion, setting both
errormsg and output as necessary


create_table_php($structure, $table)   X-Ref
This function will generate all the PHP code needed to
create one table using XMLDB objects and functions

param: XMLDBStructure structure object containing all the info
param: string table table code to be created
return: string PHP code to be used to create the table

drop_table_php($structure, $table)   X-Ref
This function will generate all the PHP code needed to
drop one table using XMLDB objects and functions

param: XMLDBStructure structure object containing all the info
param: string table table code to be dropped
return: string PHP code to be used to drop the table

rename_table_php($structure, $table)   X-Ref
This function will generate all the PHP code needed to
rename one table using XMLDB objects and functions

param: XMLDBStructure structure object containing all the info
param: string table table code to be renamed
return: string PHP code to be used to rename the table

upgrade_savepoint_php($structure)   X-Ref
This function will generate the PHP code needed to
implement the upgrade_xxxx_savepoint() php calls in
upgrade code generated from the editor

param: XMLDBStructure structure object containing all the info
return: string PHP code to be used to stabilish a savepoint



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7