ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:executeinline

Differences

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

Link to this comparison view

Next revision
Previous revision
axmls:executeinline [2015/11/05 02:31] – created mnewnhamv5:axmls:executeinline [2016/01/13 02:26] (current) – ↷ Page moved from axmls:executeinline to v5:axmls:executeinline mnewnham
Line 1: Line 1:
-bool ExecuteInline ([bool $mode = NULL])+====== executeInline ====== 
 +~~NOTOC~~ 
 +<WRAP right box> 
 +== Syntax == 
 + 
 +  bool executeInline ( 
 +    bool $mode = NULL 
 +    ) 
 +</WRAP> 
 +===== Description ===== 
 +Call this method to enable or disable inline execution of the schema.  
 + 
 +If the mode is set to **TRUE** (inline execution), AXMLS applies the SQL to the database immediately as each schema entity is parsed.  
 + 
 +If the mode is set to **FALSE** (post execution), AXMLS parses the entire schema and you will need to call adoSchema::ExecuteSchema() to apply the schema to the database. 
 + 
 +If no argument is passed, or the type of argument is not a Boolean, then the method executes as a ''getter()'', in that it returns the current status of the method. Use of this methodology is discouraged in ADOdb and this methods behavior may change in later versions.  
v5/axmls/executeinline.txt · Last modified: 2016/01/13 02:26 by mnewnham