summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristian Schneider2008-04-08 10:52:54 +0000
committerChristian Schneider2008-04-08 10:52:54 +0000
commit2d9a5253c9ab68e39983644b94b14fb669cf146f (patch)
treea2e6228425119424e439b01c04a38510a528d1a7 /README
parent7aaf055dfe6e8ef938b20aad208a5568de8dc071 (diff)
downloaditools-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--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 55dd685..936dd2f 100644
--- a/README
+++ b/README
@@ -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";