v5:axmls:removeschema
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
axmls:removeschema [2015/11/16 00:31] – mnewnham | v5:axmls:removeschema [2016/01/13 02:26] (current) – ↷ Page moved from axmls:removeschema to v5:axmls:removeschema mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
- | array RemoveSchema | + | array removeSchema |
- | | + | |
- | bool $returnSchema=false, | + | |
- | | + | |
- | | + | |
</ | </ | ||
+ | ===== Description ===== | ||
+ | Loads an XML schema from a file and converts it to uninstallation SQL. | ||
+ | |||
+ | |||
+ | Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to remove the database described. | ||
+ | |||
+ | The method returns an array of SQL queries, ready to execute. In order to execute the generated SQL, is must be passed to [[v5: | ||
+ | |||
+ | If the schema file cannot be opened or the SQL generation fails, the method returns false. | ||
+ | |||
+ |
v5/axmls/removeschema.1447630267.txt.gz · Last modified: 2017/04/21 11:22 (external edit)