summaryrefslogtreecommitdiff
path: root/program/include/rcube_contacts.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-08-07 21:02:12 +0000
committerthomascube <thomas@roundcube.net>2007-08-07 21:02:12 +0000
commit6d969b4d9020560d3491d19a5b0487e325e9bce4 (patch)
tree030bc9d63bf4dc40b8bbf1cefd00e5ad6b460439 /program/include/rcube_contacts.inc
parent93be5b7606ed7a85323732b074ce380ac06875b7 (diff)
Documentation, code style and cleanup
Diffstat (limited to 'program/include/rcube_contacts.inc')
-rw-r--r--program/include/rcube_contacts.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/program/include/rcube_contacts.inc b/program/include/rcube_contacts.inc
index c6dc40dfd..9ba965e2f 100644
--- a/program/include/rcube_contacts.inc
+++ b/program/include/rcube_contacts.inc
@@ -19,6 +19,12 @@
*/
+
+/**
+ * Model class for the local address book database
+ *
+ * @package Addressbook
+ */
class rcube_contacts
{
var $db = null;
@@ -55,7 +61,7 @@ class rcube_contacts
/**
* PHP 4 object constructor
*
- * @see rcube_contacts::__construct
+ * @see rcube_contacts::__construct()
*/
function rcube_contacts($dbconn, $user)
{
@@ -125,6 +131,7 @@ class rcube_contacts
* List the current set of contact records
*
* @param array List of cols to show
+ * @param int Only return this number of records, use negative values for tail
* @return array Indexed list of contact records, each a hash array
*/
function list_records($cols=null, $subset=0)