diff options
author | Silvio <silvio@devlet.com.br> | 2010-03-31 10:55:44 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-03-31 10:55:44 -0300 |
commit | a39fb6bd4670137a4d682403bf80dd5d1b50ada2 (patch) | |
tree | 0b55d6e92ab4e43c9409a5d0d7b93e24adda6f2c | |
parent | b9c8bdc69608864b258630dd0a58312f70917d30 (diff) | |
download | cinisis-a39fb6bd4670137a4d682403bf80dd5d1b50ada2.tar.gz cinisis-a39fb6bd4670137a4d682403bf80dd5d1b50ada2.tar.bz2 |
More coments
-rw-r--r-- | classes/MaleteDb.php | 4 | ||||
-rw-r--r-- | classes/PhpIsisDb.php | 4 |
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) { |