From 373d18ee96940c7cd35564719f9366c3438e4a74 Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Tue, 18 Sep 2007 13:44:15 +0000 Subject: documentation --- it_dbi.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'it_dbi.class') diff --git a/it_dbi.class b/it_dbi.class index 161dbce..9cab98a 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -203,7 +203,7 @@ function _set(&$tags) * Create an SQL query (the stuff after 'WHERE') according to * an array of selection criteria.
* Example:
- * $sql = $table->construct_sql_clause(array('Type' => 'bar', + * $sql = $table->_where(array('Type' => 'bar', * 'Date >=' => '1999-01-01', '-Date <' => 'NOW()', * 'User NI' => 'chris'), 'ORDER BY Date'); * @@ -425,7 +425,7 @@ function read($id=null) * If magic field 'CALC_FOUND_ROWS' is true, sets member var _found_rows to number of matching rows without LIMIT * If magic field 'NOFETCH' is true, then the first row is not prefetched (e.g. when directly using _result) * @return Number of matching rows, use iterate() to fetch the next record - * @see it_dbi::iterate(), it_db_table::construct_sql_clause() + * @see it_dbi::iterate(), it_dbi::_where() */ function select($query = null) { -- cgit v1.2.3