v5:dictionary:structure:sample_usage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:dictionary:structure:sample_usage [2016/04/09 21:38] – ↷ Page name changed from v5:dictionary:structure:complex_sample to v5:dictionary:structure:sample_usage mnewnham | v5:dictionary:structure:sample_usage [2016/04/09 21:46] (current) – mnewnham | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Sample Usage ====== | ====== Sample Usage ====== | ||
| This page shows the usage of the metaObjectStructure in various situations. | This page shows the usage of the metaObjectStructure in various situations. | ||
| + | ------------------------------------ | ||
| ===== Complex Example ===== | ===== Complex Example ===== | ||
| The following complex example shows the additional functionality of updating indexes, as well as chaining methods | The following complex example shows the additional functionality of updating indexes, as well as chaining methods | ||
| Line 9: | Line 10: | ||
| $t-> | $t-> | ||
| $t-> | $t-> | ||
| - | $t-> | + | $t-> |
| + | -> | ||
| $c = $t-> | $c = $t-> | ||
| Line 17: | Line 19: | ||
| $ii = $i-> | $ii = $i-> | ||
| - | $t-> | + | $t-> |
| + | | ||
| + | | ||
| - | $t-> | + | $t-> |
| + | -> | ||
| + | -> | ||
| + | -> | ||
| $t-> | $t-> | ||
| - | $t-> | + | $t-> |
| + | | ||
| + | | ||
| $t-> | $t-> | ||
| - | $t-> | + | $t-> |
| + | | ||
| - | $t-> | + | $t-> |
| + | | ||
| - | $t-> | + | $t-> |
| - | $t-> | + | |
| + | | ||
| + | $t-> | ||
| + | | ||
| $sql = $dict-> | $sql = $dict-> | ||
| Line 111: | Line 125: | ||
| $t = new metaObjectStructure($dict,' | $t = new metaObjectStructure($dict,' | ||
| $sqlarray = $dict-> | $sqlarray = $dict-> | ||
| + | </ | ||
| + | |||
| + | ==== renameTableSql ==== | ||
| + | === Usage === | ||
| + | <code php> | ||
| + | $t = new metaObjectStructure($dict,' | ||
| + | $t-> | ||
| + | $sqlarray = $dict-> | ||
| </ | </ | ||
v5/dictionary/structure/sample_usage.1460230715.txt.gz · Last modified: (external edit)
