summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a6213a)
raw | patch | inline | side by side (parent: 3a6213a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 08:31:42 +0000 (08:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Oct 2010 08:31:42 +0000 (08:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20017 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc
index 5ebb0be28edc4b6a9d1449c27efa364fcc62a924..c39905d79f1066669139aa81462f9fca60d90be5 100644 (file)
// Not yet finished need to be reviewed once the folder handling is working.
+/*! \brief A groupware folder widget which allow to navigate through a
+ * given list of user or shared folders.
+ * Folders can be added or removed and ACLs assigned and updated.
+ *
+ *
+ * @param Config The GOsa configuration object
+ * @param Array The folder list to handle, e.g.
+ *
+ * $folders['shared/support']['status'] = '';
+ * $folders['shared/support']['name'] = 'support';
+ * $folders['shared/support']['acls'] = array();
+ *
+ * $folders['shared/support/2010']['status'] = 'added';
+ * $folders['shared/support/2010']['name'] = '2010';
+ * $folders['shared/support/2010']['acls'] = array('anne' => 1024, 'klaus' => '210');
+ *
+ * // 'status' Represents the folder status, maybe it wasn't touched then status is '';
+ * // If the folder was added, then the status is 'added'. Status 'removed'
+ * // handles the folder as removed.
+ *
+ * // 'name' Represents the entry name, this should match the name in the path.
+ *
+ * // 'acls' Represents ACLs set for the folder.
+ * Syntax ['userNmae' => ACL] // See $this->setPermissions();
+ *
+ *
+ */
class FolderWidget extends plugin
{
public $pathTitle = "Folder";