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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
axmls:axmls_functions [2015/11/09 01:17] – [Table] mnewnhamv5:axmls:axmls_functions [2016/01/13 02:26] – ↷ Page moved from axmls:axmls_functions to v5:axmls:axmls_functions mnewnham
Line 1: Line 1:
 ====== AXMLS Function Reference ====== ====== AXMLS Function Reference ======
-===== Variables ===== +<WRAP tip> 
-| [[reference:$ADODB_COUNTRECS]]         | In database drivers that do not support native recordset countingcontrols whether to emulate the functionality                       | +Unlike core ADOdb methods, AXMLS methods that accept boolean argumentsalso 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.
-===== Constants ===== +
-|[[reference:ADODB_ASSOC_CASE]]|Controls the case-specifity of recordset keys returned as associative arrays| +
-===== Methods ===== +
-| [[axmls:adoSchema|adoSchema]]  | Creates a new AXMLS object     ||+
  
-| [[axmls:continueonerror|continueOnError()]]  |bool ContinueOnError ([bool $mode = NULL])+This behaviour may change in later versions of ADOdb. 
-| [[axmls:convertschemafile|convertSchemaFile()]]|  string ConvertSchemaFile (string $filename, [string $newVersion = NULL], [string $newFile = NULL])+</WRAP> 
-| [[axmls:convertschemastring|convertSchemaString()]]|  string ConvertSchemaString (string $schema, [string $newVersion = NULL], [string $newFile = NULL])+ 
-| [[axmls:destroy|destroy()]]|  void Destroy ()+===== Methods ===== 
-| [[axmls:executeinline|executeInLine()]]|  bool ExecuteInline ([bool $mode = NULL])+| [[axmls:adoSchema|adoSchema]]                        Creates a new AXMLS Object                                                      
-| [[axmls:executeschema|executeSchema()]]|  integer ExecuteSchema ([array $sqlArray = NULL], [boolean $continueOnErr = NULL])| +| [[axmls:convertschemafile|convertSchemaFile()]]      Converts an XML schema file to the specified DTD version.                       
-| [[axmls:extractschema|extractSchema()]]|  string ExtractSchema ([boolean $data = FALSE])+| [[axmls:convertschemastring|convertSchemaString()]]  Converts an XML schema string to the specified DTD version.                     
-| [[axmls:parseschma|parseSchema()]]|  array ParseSchema (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[axmls:destroy|destroy()]]                          Destroys an adoSchema object.                                                   
-| [[axmls:parseschemafile|parseSchemaFile()]]|  array ParseSchemaFile (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[axmls:executeinline|executeInLine()]]              Enables/disables inline SQL execution.                                          
-| [[axmls:parseschemastring|parseSchemaString()]]|  array ParseSchemaString (string $xmlstring, [bool $returnSchema = FALSE])+| [[axmls:executeschema|executeSchema()]]              Applies the current XML schema to the database (post execution).                
-| [[axmls:printsql|printSql()]]|  array PrintSQL ([string $format = 'NONE'])+| [[axmls:extractschema|extractSchema()]]              Extracts an XML schema from an existing database.                               
-| [[axmls:removeschema|removeSchema()]]|  array RemoveSchema (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[axmls:parseschema|parseSchema()]]                  Loads an XML schema from a file and converts it to SQL.                         
-| [[axmls:removeschemastring|removeSchemaString()]]|  array RemoveSchemaString (string $schema, [bool $returnSchema = FALSE])+| [[axmls:parseschemafile|parseSchemaFile()]]          Loads an XML schema from a file and converts it to SQL.                         
-| [[axmls:savesql|saveSql()]]|  boolean SaveSQL ([string $filename = './schema.sql'])+| [[axmls:parseschemastring|parseSchemaString()]]      Converts an XML schema string to SQL.                                           
-| [[axmls:schemafileversion|schemaFileVersion()]]|  string SchemaFileVersion (string $filename)+| [[axmls:printsql|printSql()]]                        Returns the current SQL array.                                                  
-| [[axmls:schemastringversion|schemaStringVersion()]] string SchemaStringVersion (string $xmlstring)+| [[axmls:removeschema|removeSchema()]]                Loads an XML schema from a file and converts it to uninstallation SQL.          
-| [[axmls:setprefix|setPrefix()]]|  boolean SetPrefix ([string $prefix = ""], [boolean $underscore = TRUE])+| [[axmls:removeschemastring|removeSchemaString()]]    Converts an XML schema string to uninstallation SQL.                            
-| [[axmls:setupgrademethod|setUpgradeMethod()]]|  string SetUpgradeMethod ([string $method = ''])| +| [[axmls:savesql|saveSql()]]                          Saves the current SQL array to the local filesystem as a list of SQL queries.`  | 
-| [[axmls:transformschema|transformSchema()]]|  void TransformSchema (mixed $schema, mixed $xsl, [mixed $schematype = 'string'])|+| [[axmls:schemafileversion|schemaFileVersion()]]      Returns the AXMLS Schema Version of the requested XML schema file.              
 +| [[axmls:schemastringversion|schemaStringVersion()]]  | Returns the AXMLS Schema Version of the provided XML schema string.             
 +| [[axmls:setprefix|setPrefix()]]                      Sets a prefix for database objects                                              
 +| [[axmls:setupgrademethod|setUpgradeMethod()]]        Sets the method to be used for upgrading an existing database                   |
v5/axmls/axmls_functions.txt · Last modified: 2016/01/13 02:26 by mnewnham