diff options
author | Silvio <silvio@devlet.com.br> | 2010-07-23 14:11:20 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-07-23 14:11:20 -0300 |
commit | c33739f87ebf10e494f3c4d16ef4d53876f044f2 (patch) | |
tree | b9118be218bf8e971933c7235a675afacd56e1e2 /classes/MaleteDb.php | |
parent | 746f86a86cb03527ba1d4e695314d7654ecd0766 (diff) | |
download | cinisis-c33739f87ebf10e494f3c4d16ef4d53876f044f2.tar.gz cinisis-c33739f87ebf10e494f3c4d16ef4d53876f044f2.tar.bz2 |
Adding README and naming changes
Diffstat (limited to 'classes/MaleteDb.php')
-rw-r--r-- | classes/MaleteDb.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/MaleteDb.php b/classes/MaleteDb.php index e7d50a5..7983c2f 100644 --- a/classes/MaleteDb.php +++ b/classes/MaleteDb.php @@ -70,15 +70,15 @@ class MaleteDb implements IsisDb { } /** - * Return number of rows in the database. + * Return number of entries 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() + * @see IsisDb::entries() */ - public function rows() { + public function entries() { // The first entry in a malete database has id 1 and // not 0, therefore $id's initial value should be 1. $id = 1; |