From ce92ba767a9557daf7f18be94882dd7e6f4591fb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 30 Sep 2010 09:24:33 -0400
Subject: [PATCH] - Plugin API: improved 'abort' flag handling, added 'result' item in some hooks: group_*, contact_*, identity_* (#1486914)
---
program/include/rcube_addressbook.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php
index 3b07235..c8e18ea 100644
--- a/program/include/rcube_addressbook.php
+++ b/program/include/rcube_addressbook.php
@@ -83,14 +83,14 @@
/**
* Count number of available contacts in database
*
- * @return object rcube_result_set Result set with values for 'count' and 'first'
+ * @return rcube_result_set Result set with values for 'count' and 'first'
*/
abstract function count();
/**
* Return the last result set
*
- * @return object rcube_result_set Current result set or NULL if nothing selected yet
+ * @return rcube_result_set Current result set or NULL if nothing selected yet
*/
abstract function get_result();
@@ -142,7 +142,7 @@
*
* @param array Assoziative array with save data
* @param boolean True to check for duplicates first
- * @return The created record ID on success, False on error
+ * @return mixed The created record ID on success, False on error
*/
function insert($save_data, $check=false)
{
@@ -154,7 +154,7 @@
*
* @param mixed Record identifier
* @param array Assoziative array with save data
- * @return True on success, False on error
+ * @return boolean True on success, False on error
*/
function update($id, $save_cols)
{
@@ -183,7 +183,7 @@
* Create a contact group with the given name
*
* @param string The group name
- * @return False on error, array with record props in success
+ * @return mixed False on error, array with record props in success
*/
function create_group($name)
{
--
Gitblit v1.9.1