aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-03-31 10:55:44 -0300
committerSilvio <silvio@devlet.com.br>2010-03-31 10:55:44 -0300
commita39fb6bd4670137a4d682403bf80dd5d1b50ada2 (patch)
tree0b55d6e92ab4e43c9409a5d0d7b93e24adda6f2c /classes
parentb9c8bdc69608864b258630dd0a58312f70917d30 (diff)
downloadcinisis-a39fb6bd4670137a4d682403bf80dd5d1b50ada2.tar.gz
cinisis-a39fb6bd4670137a4d682403bf80dd5d1b50ada2.tar.bz2
More coments
Diffstat (limited to 'classes')
-rw-r--r--classes/MaleteDb.php4
-rw-r--r--classes/PhpIsisDb.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/classes/MaleteDb.php b/classes/MaleteDb.php
index 628fbe8..0628e9e 100644
--- a/classes/MaleteDb.php
+++ b/classes/MaleteDb.php
@@ -64,6 +64,10 @@ class MaleteDb implements IsisDb {
/**
* Return number of rows in the database.
*
+ * The Malete API doen't implement such feature so we
+ * have to emulate it by iterating over all entries
+ * until MaleteDb::read() returns FALSE.
+ *
* @see IsisDb::read()
*/
public function rows() {
diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php
index 8dd57d0..169f832 100644
--- a/classes/PhpIsisDb.php
+++ b/classes/PhpIsisDb.php
@@ -38,6 +38,10 @@ class PhpIsisDb implements IsisDb {
/**
* Read an entry.
*
+ * The PHP-Isis API doen't implement such feature so we
+ * have to emulate it by geting all entries and using
+ * isis_data_seek() to get the desired record.
+ *
* @see IsisDb::read()
*/
public function read($id) {