summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_storage_folder_user.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_folder_user.php b/plugins/libkolab/lib/kolab_storage_folder_user.php
index 70ded87..1c37da9 100644
--- a/plugins/libkolab/lib/kolab_storage_folder_user.php
+++ b/plugins/libkolab/lib/kolab_storage_folder_user.php
@@ -65,6 +65,16 @@ class kolab_storage_folder_user extends kolab_storage_folder_virtual
}
/**
+ * Getter for a more informative title of this user folder
+ *
+ * @return string Title for the given user record
+ */
+ public function get_title()
+ {
+ return trim($this->ldaprec['displayname'] . '; ' . $this->ldaprec['mail'], '; ');
+ }
+
+ /**
* Returns the owner of the folder.
*
* @return string The owner of this folder.