diff options
author | Christian Schneider | 2008-04-08 10:52:54 +0000 |
---|---|---|
committer | Christian Schneider | 2008-04-08 10:52:54 +0000 |
commit | 2d9a5253c9ab68e39983644b94b14fb669cf146f (patch) | |
tree | a2e6228425119424e439b01c04a38510a528d1a7 /README | |
parent | 7aaf055dfe6e8ef938b20aad208a5568de8dc071 (diff) | |
download | itools-2d9a5253c9ab68e39983644b94b14fb669cf146f.tar.gz itools-2d9a5253c9ab68e39983644b94b14fb669cf146f.tar.bz2 itools-2d9a5253c9ab68e39983644b94b14fb669cf146f.zip |
State in examples that it_auto_prepend make init unnecessary
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ it_html creates a global function for each common html tag. Those functions accept variable arguments, key=>value pairs are considered attributes. Example: - new it_html; + new it_html; # Not necessary if using it_auto_prepend.php echo html( head('title' => "welcome earth"), body( @@ -70,7 +70,7 @@ a class is created automatically. Queries are encoded as arrays which ensures correct quoting, see select(). Errors are by default reported within dbi. Example: - it_dbi::createclasses(); + it_dbi::createclasses(); # Not necessary if using it_auto_prepend.php $record = new T_Customers('ID' => 'mueller'); $record->update('email' => "mueller@spam.com"); $response = "Email added for $record->name"; |