Changeset 4145 in subversion
- Timestamp:
- Oct 27, 2010 3:23:57 AM (3 years ago)
- Location:
- trunk/roundcubemail/program/include
- Files:
-
- 2 edited
-
rcube_addressbook.php (modified) (10 diffs)
-
rcube_contacts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_addressbook.php
r4015 r4145 65 65 66 66 /** 67 * List all active contact groups of this source68 *69 * @return array Indexed list of contact groups, each a hash array70 */71 function list_groups() { }72 73 /**74 67 * Search records 75 68 * … … 100 93 * @param mixed record identifier(s) 101 94 * @param boolean True to return record as associative array, otherwise a result set is returned 95 * 102 96 * @return mixed Result object with all record fields or False if not found 103 97 */ … … 131 125 $this->page_size = (int)$size; 132 126 } 133 134 /**135 * Setter for the current group136 * (empty, has to be re-implemented by extending class)137 */138 function set_group($gid) { }139 127 140 128 /** … … 181 169 182 170 /** 171 * Setter for the current group 172 * (empty, has to be re-implemented by extending class) 173 */ 174 function set_group($gid) { } 175 176 /** 177 * List all active contact groups of this source 178 * 179 * @return array Indexed list of contact groups, each a hash array 180 */ 181 function list_groups() 182 { 183 /* empty for address books don't supporting groups */ 184 return array(); 185 } 186 187 /** 183 188 * Create a contact group with the given name 184 189 * … … 191 196 return false; 192 197 } 193 198 194 199 /** 195 200 * Delete the given group and all linked group members … … 203 208 return false; 204 209 } 205 210 206 211 /** 207 212 * Rename a specific contact group … … 216 221 return false; 217 222 } 218 223 219 224 /** 220 225 * Add the given contact records the a certain group … … 222 227 * @param string Group identifier 223 228 * @param array List of contact identifiers to be added 224 * @return int Number of contacts added 229 * @return int Number of contacts added 225 230 */ 226 231 function add_to_group($group_id, $ids) … … 229 234 return 0; 230 235 } 231 236 232 237 /** 233 238 * Remove the given contact records from a certain group … … 242 247 return 0; 243 248 } 249 250 /** 251 * Get group assignments of a specific contact record 252 * 253 * @param mixed Record identifier 254 * 255 * @return array List of assigned groups as ID=>Name pairs 256 * @since 0.5-beta 257 */ 258 function get_record_groups($id) 259 { 260 /* empty for address books don't supporting groups */ 261 return array(); 262 } 244 263 } 264 -
trunk/roundcubemail/program/include/rcube_contacts.php
r4121 r4145 356 356 357 357 /** 358 * Get group assignments of a specific contac rrecord358 * Get group assignments of a specific contact record 359 359 * 360 360 * @param mixed Record identifier 361 * @ paramarray List of assigned groups as ID=>Name pairs361 * @return array List of assigned groups as ID=>Name pairs 362 362 */ 363 363 function get_record_groups($id) … … 385 385 * Create a new contact record 386 386 * 387 * @param array Asso ziative array with save data387 * @param array Associative array with save data 388 388 * @return integer|boolean The created record ID on success, False on error 389 389 */
Note: See TracChangeset
for help on using the changeset viewer.
