diff options
Diffstat (limited to 'classes')
-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) { |