Changeset 4271 in subversion


Ignore:
Timestamp:
Nov 25, 2010 2:45:01 PM (2 years ago)
Author:
thomasb
Message:

Better documentation of rcube_addressbooks

Location:
branches/devel-addressbook/program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-addressbook/program/include/rcube_addressbook.php

    r4268 r4271  
    7171     * @param string  Search value 
    7272     * @param boolean True if results are requested, False if count only 
    73      * @return Indexed list of contact records and 'count' value 
    74      */ 
    75     abstract function search($fields, $value, $strict=false, $select=true); 
     73     * @param boolean True to skip the count query (select only) 
     74     * @param array   List of fields that cannot be empty 
     75     * @return object rcube_result_set List of contact records and 'count' value 
     76     */ 
     77    abstract function search($fields, $value, $strict=false, $select=true, $nocount=false, $required=array()); 
    7678 
    7779    /** 
     
    201203     * List all active contact groups of this source 
    202204     * 
     205     * @param string  Optional search string to match group name 
    203206     * @return array  Indexed list of contact groups, each a hash array 
    204207     */ 
    205     function list_groups() 
     208    function list_groups($search = null) 
    206209    { 
    207210        /* empty for address books don't supporting groups */ 
  • branches/devel-addressbook/program/include/rcube_contacts.php

    r4265 r4271  
    227227     * @param boolean True to skip the count query (select only) 
    228228     * @param array   List of fields that cannot be empty 
    229      * @return Indexed list of contact records and 'count' value 
     229     * @return object rcube_result_set Contact records and 'count' value 
    230230     */ 
    231231    function search($fields, $value, $strict=false, $select=true, $nocount=false, $required=array()) 
Note: See TracChangeset for help on using the changeset viewer.