diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-06-08 19:34:49 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-06-08 19:34:49 +0200 |
commit | 53454761ed4d619b328d7cb5f628daafe127efb7 (patch) | |
tree | 4593361e2e9a767e2197eba8b8fd1c8be4e8aeb0 /class/TableIterator.php | |
parent | e671ebe6e140b4fd2bf671c07b0b59aa070ea23b (diff) |
some docs
Diffstat (limited to 'class/TableIterator.php')
-rw-r--r-- | class/TableIterator.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/class/TableIterator.php b/class/TableIterator.php index 9f5889b..5c42d24 100644 --- a/class/TableIterator.php +++ b/class/TableIterator.php @@ -52,7 +52,7 @@ class TableIterator implements Iterator * * @param CommonDBTM $dbconnexion Database Connnexion * (must be a CommonDBTM object) - * @param string $table table name + * @param string $table table name or complete SQL request * @param string|array $crit string or array of filed/values, * ex array("id"=>1), if empty => all rows */ @@ -154,8 +154,8 @@ class TableIterator implements Iterator /** * Build WHERE clause * - * @param TODO $crit To document - * @param TODO $bool To document + * @param string|array $crit To document + * @param string $bool logical operator between criteria * * @return To document */ @@ -208,9 +208,9 @@ class TableIterator implements Iterator } /** - * To document + * Go to the begin of the request (launch it) * - * @return To document + * @return hastable|false : next row */ public function rewind () { @@ -230,9 +230,9 @@ class TableIterator implements Iterator } /** - * To document + * Retrieve current row * - * @return To document + * @return hastable|false */ public function current() { @@ -240,9 +240,9 @@ class TableIterator implements Iterator } /** - * To document + * Retrieve key of current row * - * @return To document + * @return mixed */ public function key() { @@ -250,9 +250,9 @@ class TableIterator implements Iterator } /** - * To document + * Retrieve next row * - * @return To document + * @return hastable|false */ public function next() { @@ -265,9 +265,9 @@ class TableIterator implements Iterator } /** - * To document + * Is current row defined * - * @return To document + * @return boolean */ public function valid() { @@ -275,9 +275,9 @@ class TableIterator implements Iterator } /** - * To document + * Compute number of rows * - * @return To document + * @return integer */ public function numrows() { |