ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:axmls_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
axmls:axmls_functions [2015/11/05 01:40] – created mnewnhamv5:axmls:axmls_functions [2016/01/13 02:26] (current) – ↷ Links adapted because of a move operation mnewnham
Line 1: Line 1:
 ====== AXMLS Function Reference ====== ====== AXMLS Function Reference ======
 +<WRAP tip>
 +Unlike core ADOdb methods, AXMLS methods that accept boolean arguments, also require that the type of the argument passed be boolean (true/false). Passing an implied boolean value (1/0 or 'value'/'') may cause unexpected results.
  
-  adoSchema adoSchema (object &$db) +This behaviour may change in later versions of ADOdb. 
-  bool ContinueOnError ([bool $mode NULL]) +</WRAP> 
-  string ConvertSchemaFile (string $filename, [string $newVersion = NULL], [string $newFile = NULL]) + 
-  string ConvertSchemaString (string $schema[string $newVersion = NULL], [string $newFile = NULL]) +===== Methods ====
-  void Destroy () +[[v5:axmls:adoschema|adoSchema]]                        | Creates a new AXMLS Object                                                      | 
-  bool ExecuteInline ([bool $mode = NULL]) +| [[v5:axmls:convertschemafile|convertSchemaFile()]]      | Converts an XML schema file to the specified DTD version.                       | 
-  integer ExecuteSchema ([array $sqlArray = NULL], [boolean $continueOnErr = NULL]) +[[v5:axmls:convertschemastring|convertSchemaString()]]  | Converts an XML schema string to the specified DTD version.                     | 
-  string ExtractSchema ([boolean $data = FALSE]+| [[v5:axmls:destroy|destroy()]]                          | Destroys an adoSchema object.                                                   | 
-  array ParseSchema (mixed $filename, [bool $returnSchema = FALSE], string $file) +| [[v5:axmls:executeinline|executeInLine()]             | Enables/disables inline SQL execution.                                          | 
-  array ParseSchemaFile (mixed $filename, [bool $returnSchema = FALSE], string $file) +[[v5:axmls:executeschema|executeSchema()]]              | Applies the current XML schema to the database (post execution).                | 
-  array ParseSchemaString (string $xmlstring, [bool $returnSchema = FALSE]+[[v5:axmls:extractschema|extractSchema()]]              | Extracts an XML schema from an existing database.                               | 
-  array PrintSQL ([string $format = 'NONE']) +[[v5:axmls:parseschema|parseSchema()]]                  | Loads an XML schema from a file and converts it to SQL.                         | 
-  array RemoveSchema (mixed $filename, [bool $returnSchema = FALSE], string $file) +[[v5:axmls:parseschemafile|parseSchemaFile()]]          | Loads an XML schema from a file and converts it to SQL.                         | 
-  array RemoveSchemaString (string $schema, [bool $returnSchema = FALSE]) +| [[v5:axmls:parseschemastring|parseSchemaString()]]      | Converts an XML schema string to SQL.                                           | 
-  boolean SaveSQL ([string $filename = './schema.sql']) +[[v5:axmls:printsql|printSql()]]                        | Returns the current SQL array.                                                  | 
-  string SchemaFileVersion (string $filename+[[v5:axmls:removeschema|removeSchema()]]                | Loads an XML schema from a file and converts it to uninstallation SQL.          | 
-  string SchemaStringVersion (string $xmlstring+| [[v5:axmls:removeschemastring|removeSchemaString()]]    | Converts an XML schema string to uninstallation SQL                           | 
-  boolean SetPrefix ([string $prefix = ''], [boolean $underscore = TRUE]) +| [[v5:axmls:savesql|saveSql()]]                          | Saves the current SQL array to the local filesystem as a list of SQL queries.`  | 
-  string SetUpgradeMethod ([string $method = '']+| [[v5:axmls:schemafileversion|schemaFileVersion()]]      | Returns the AXMLS Schema Version of the requested XML schema file.              | 
-  void TransformSchema (mixed $schema, mixed $xsl, [mixed $schematype = 'string'])+[[v5:axmls:schemastringversion|schemaStringVersion()]]  | Returns the AXMLS Schema Version of the provided XML schema string.             | 
 +[[v5:axmls:setprefix|setPrefix()]]                      | Sets a prefix for database objects                                              | 
 +[[v5:axmls:setupgrademethod|setUpgradeMethod()]]        | Sets the method to be used for upgrading an existing database                   |
v5/axmls/axmls_functions.1446684055.txt.gz · Last modified: 2017/04/21 11:23 (external edit)