summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_contacts.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-16 12:20:19 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-16 12:20:19 +0000
commit55ccec14bf82d88067eb8a13c62b6ba1f0de7d7b (patch)
treeb7cd1244b1f29e65b8d437dc4cedd0456dca87f3 /roundcubemail/program/include/rcube_contacts.php
parent59029fc29d6c8d9ed99786859ddf7fb9ae5fd172 (diff)
- Add addressbook name in contact info frame (#1487958)
git-svn-id: https://svn.roundcube.net/trunk@4857 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_contacts.php')
-rw-r--r--roundcubemail/program/include/rcube_contacts.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php
index b9380e45f..b097b3bc0 100644
--- a/roundcubemail/program/include/rcube_contacts.php
+++ b/roundcubemail/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',
@@ -76,9 +77,18 @@ 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)
{