From cc90ed1f84174a89039feb6906775778e0c4eb18 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 16 Jun 2011 12:20:19 +0000 Subject: - Add addressbook name in contact info frame (#1487958) --- program/include/rcube_contacts.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'program/include/rcube_contacts.php') diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index b9380e45f..b097b3bc0 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -41,6 +41,7 @@ class rcube_contacts extends rcube_addressbook private $user_id = 0; private $filter = null; private $result = null; + private $name; private $cache; private $table_cols = array('name', 'email', 'firstname', 'surname'); private $fulltext_cols = array('name', 'firstname', 'surname', 'middlename', 'nickname', @@ -75,10 +76,19 @@ class rcube_contacts extends rcube_addressbook } + /** + * Returns addressbook name + */ + function get_name() + { + return $this->name; + } + + /** * Save a search string for future listings * - * @param string SQL params to use in listing method + * @param string SQL params to use in listing method */ function set_search_set($filter) { -- cgit v1.2.3