| | |
| | | | Author: Thomas Bruederli <roundcube@gmail.com> | |
| | | +-----------------------------------------------------------------------+ |
| | | |
| | | $Id: $ |
| | | $Id$ |
| | | |
| | | */ |
| | | |
| | |
| | | { |
| | | /** public properties */ |
| | | var $primary_key; |
| | | var $groups = false; |
| | | var $readonly = true; |
| | | var $ready = false; |
| | | var $list_page = 1; |
| | |
| | | * @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 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 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 |