thomascube
2010-03-31 c0297f4172da47a20350d597176ecafee47c97bb
program/include/rcube_addressbook.php
@@ -15,7 +15,7 @@
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+
 $Id:  $
 $Id$
*/
@@ -29,6 +29,7 @@
{
    /** public properties */
    var $primary_key;
    var $groups = false;
    var $readonly = true;
    var $ready = false;
    var $list_page = 1;
@@ -61,6 +62,13 @@
     * @return array  Indexed list of contact records, each a hash array
     */
    abstract function list_records($cols=null, $subset=0);
    /**
     * List all active contact groups of this source
     *
     * @return array  Indexed list of contact groups, each a hash array
     */
    function list_groups() { }
    /**
     * Search records
@@ -124,6 +132,12 @@
    }
    /**
     * Setter for the current group
     * (empty, has to be re-implemented by extending class)
     */
    function set_group($gid) { }
    /**
     * Create a new contact record
     *
     * @param array Assoziative array with save data