diff options
author | alecpl <alec@alec.pl> | 2011-06-16 12:20:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-06-16 12:20:19 +0000 |
commit | cc90ed1f84174a89039feb6906775778e0c4eb18 (patch) | |
tree | 24984caa4b857dffb84a12ac3cde73bb967c466b /program/include/rcube_contacts.php | |
parent | 1a034323fc7cefc8dd0283ae9d1a83ce3abbaf0a (diff) |
- Add addressbook name in contact info frame (#1487958)
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r-- | program/include/rcube_contacts.php | 12 |
1 files changed, 11 insertions, 1 deletions
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', @@ -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) { |