v5:axmls:setprefix
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
axmls:setprefix [2015/11/05 02:42] – created mnewnham | axmls:setprefix [2015/12/19 16:58] – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | boolean | + | ====== setPrefix ====== |
+ | ~~NOTOC~~ | ||
+ | <WRAP right box> | ||
+ | == Syntax == | ||
+ | |||
+ | | ||
+ | | ||
+ | optional bool $addUnderscore=true | ||
+ | ) | ||
+ | </ | ||
+ | ===== Description ===== | ||
+ | Sets a prefix for database objects | ||
+ | |||
+ | Call this method to set a standard prefix that will be prepended to all database tables and indices. | ||
+ | |||
+ | If the optional '' | ||
+ | |||
+ | ===== Usage ===== | ||
+ | <code php> | ||
+ | /* | ||
+ | * Assuming xml schema contains tables a,b,c | ||
+ | */ | ||
+ | $axmls-> | ||
+ | |||
+ | /* | ||
+ | * tables will be created as ' | ||
+ | */ | ||
+ | |||
+ | $axmls-> | ||
+ | |||
+ | /* | ||
+ | * tables will be created as ' | ||
+ | */ | ||
+ | </ |
v5/axmls/setprefix.txt · Last modified: 2016/01/13 02:26 by mnewnham