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
axmls:axmls_functions [2015/11/05 02:27] – [Methods] 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 ======
-===== 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.
-| [[reference:$ADODB_ANSI_PADDING_OFF]]  | Determines whether to right trim CHAR fields                                                                                           | +
-| [[reference:$ADODB_CACHE_DIR]]         | If using recordset caching, determines the directory holding the cached data                                                           | +
-| [[reference:$ADODB_CACHE_CLASS]]       | If using recordset caching, specifies a class for cached recordset handling                                                            | +
-| [[reference:$ADODB_FORCE_TYPE]]        | Changes the behavior of empty and null field handling when updating or creating records                                                | +
-| [[reference:$ADODB_FETCH_MODE]]        | Sets the global array type (numeric or associativefor returned recordsets                                                            | +
-| [[reference:$ADODB_GETONE_EOF]]        | Sets the returned value if a valid SQL statement does not match any record when the method [[reference:getone|getOne()]] is executed | +
-| [[reference:$ADODB_LANG]]              | Sets the language for error messages                                                                                                   | +
-| [[reference:$ADODB_QUOTE_FIELDNAMES]]  | Quotes, and optionally controls the casing of field name in constructed SQL statements                                                 | +
- +
-===== Constants ===== +
- +
-|[[reference:ADODB_ASSOC_CASE]]|Controls the case-specifity of recordset keys returned as associative arrays|+
  
 +This behaviour may change in later versions of ADOdb.
 +</WRAP>
  
 ===== Methods ===== ===== Methods =====
-| [[reference:adonewconnection|adoNewConnection() ]]  | Create a new connection object |     +| [[v5:axmls:adoschema|adoSchema]]                        Creates a new AXMLS Object                                                      
-| [[axmls:adoSchema|adoSchema]]| (object &$db)|+| [[v5:axmls:convertschemafile|convertSchemaFile()]]      Converts an XML schema file to the specified DTD version.                       
- +| [[v5:axmls:convertschemastring|convertSchemaString()]]  Converts an XML schema string to the specified DTD version.                     
-| [[axmls:continueonerror|continueOnError()]]  |bool ContinueOnError ([bool $mode = NULL])| +| [[v5:axmls:destroy|destroy()]]                          Destroys an adoSchema object.                                                   
-| [[axmls:convertschemafile|convertSchemaFile()]]|  string ConvertSchemaFile (string $filename, [string $newVersion = NULL], [string $newFile = NULL])+| [[v5:axmls:executeinline|executeInLine()]]              Enables/disables inline SQL execution.                                          
-| [[axmls:convertschemastring|convertSchemaString()]]|  string ConvertSchemaString (string $schema, [string $newVersion = NULL], [string $newFile = NULL])+| [[v5:axmls:executeschema|executeSchema()]]              Applies the current XML schema to the database (post execution).                
-| [[axmls:destroy|destroy()]]|  void Destroy ()+| [[v5:axmls:extractschema|extractSchema()]]              Extracts an XML schema from an existing database.                               
-| [[axmls:executeinline|executeInLine()]]|  bool ExecuteInline ([bool $mode = NULL])+| [[v5:axmls:parseschema|parseSchema()]]                  Loads an XML schema from a file and converts it to SQL.                         
-| [[axmls:executeschema|executeSchema()]]|  integer ExecuteSchema ([array $sqlArray = NULL], [boolean $continueOnErr = NULL])| +| [[v5:axmls:parseschemafile|parseSchemaFile()]]          Loads an XML schema from a file and converts it to SQL.                         
-| [[axmls:extractschema|extractSchema()]]|  string ExtractSchema ([boolean $data = FALSE])+| [[v5:axmls:parseschemastring|parseSchemaString()]]      Converts an XML schema string to SQL.                                           
-| [[axmls:parseschma|parseSchema()]]|  array ParseSchema (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[v5:axmls:printsql|printSql()]]                        Returns the current SQL array.                                                  
-| [[axmls:parseschemafile|parseSchemaFile()]]|  array ParseSchemaFile (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[v5:axmls:removeschema|removeSchema()]]                Loads an XML schema from a file and converts it to uninstallation SQL.          
-| [[axmls:parseschemastring|parseSchemaString()]]|  array ParseSchemaString (string $xmlstring, [bool $returnSchema = FALSE])+| [[v5:axmls:removeschemastring|removeSchemaString()]]    Converts an XML schema string to uninstallation SQL.                            
-| [[axmls:printsql|printSql()]]|  array PrintSQL ([string $format = 'NONE'])+| [[v5:axmls:savesql|saveSql()]]                          Saves the current SQL array to the local filesystem as a list of SQL queries.`  | 
-| [[axmls:removeschema|removeSchema()]]|  array RemoveSchema (mixed $filename, [bool $returnSchema = FALSE], string $file)+| [[v5:axmls:schemafileversion|schemaFileVersion()]]      Returns the AXMLS Schema Version of the requested XML schema file.              
-| [[axmls:removeschemastring|removeSchemaString()]]|  array RemoveSchemaString (string $schema, [bool $returnSchema = FALSE])+| [[v5:axmls:schemastringversion|schemaStringVersion()]]  | Returns the AXMLS Schema Version of the provided XML schema string.             
-| [[axmls:savesql|saveSql()]]|  boolean SaveSQL ([string $filename = './schema.sql'])+| [[v5:axmls:setprefix|setPrefix()]]                      Sets a prefix for database objects                                              
-| [[axmls:schemafileversion|schemaFileVersion()]]|  string SchemaFileVersion (string $filename)+| [[v5:axmls:setupgrademethod|setUpgradeMethod()]]        Sets the method to be used for upgrading an existing database                   |
-| [[axmls:schemastringversion|schemaStringVersion()]] string SchemaStringVersion (string $xmlstring)+
-| [[axmls:setprefix|setPrefix()]]|  boolean SetPrefix ([string $prefix = ''], [boolean $underscore = TRUE])+
-| [[axmls:setupgrademethod|setUpgradeMethod()]]|  string SetUpgradeMethod ([string $method = ''])| +
-| [[axmls:transformschema|transformSchema()]]|  void TransformSchema (mixed $schema, mixed $xsl, [mixed $schematype = 'string'])|+
v5/axmls/axmls_functions.1446686845.txt.gz · Last modified: 2017/04/21 11:23 (external edit)