summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 259285e)
raw | patch | inline | side by side (parent: 259285e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Oct 2010 15:18:43 +0000 (15:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Oct 2010 15:18:43 +0000 (15:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20009 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc
index f1a8d802c5e915ca2f19f84a81491e098d2d0d95..46470007d226b854c3531e885fa1bb526cf90aff 100644 (file)
}
+
+/*! \brief Allows to update groupware shared-folders
+ * using the jsonRPC backend.
+ */
class GroupwareSharedFolder extends plugin
{
public $view_logged = FALSE;
private $rpcError = FALSE;
private $rpcErrorMessage = "";
-
// Attribute definition
public $attributes = array('folderList');
public $folderList = array();
private $featuresEnabled = array();
private $FolderWidget = NULL;
+
/*! \brief Constructs the plugin, loads required parent values
* and initiates the initialization.
*/
}
+
/*! \brief Check whether a feature is enabled or not.
* @param The feature name to check for
* @return TRUE on success else FALSE
$capabilities = array();
-
-
-
-
+ #FIXME
+ /* Not working at all, have to wait for backend funtions.
+ */
# // Detect supported capabilities
# $rpc = $this->config->getRpcHandle();
$this->initialized = TRUE;
}
+
+ // Returns a dummy folder list . #Fixme remove this.
function getFolderList()
{
$folders = array(
return($ret);
}
- function getPermissions()
- {
- $ret[GROUPWARE_RIGHTS_NONE] = _("None");
- $ret[RIGHTS_GROUPWARE_READ] = _("Read");
- $ret[RIGHTS_GROUPWARE_POST] = _("Post");
- $ret[GROUPWARE_RIGHTS_APPEND] = _("Append");
- $ret[RIGHTS_GROUPWARE_WRITE] = _("Write");
- $ret[GROUPWARE_RIGHTS_ALL] = _("All");
- return($ret);
- }
-
-
-
function execute()
{
plugin::execute();
}
- /*! \brief ACL settings
- */
- static function plInfo()
- {
- return (array(
- "plShortName" => _("Shared folder"),
- "plDescription" => _("Groupware shared folder"),
- "plSelfModify" => FALSE,
- "plDepends" => array("ogroup"), // This plugin depends on
- "plPriority" => 4, // Position in tabs
- "plSection" => array("administration"),
- "plCategory" => array("groups"),
- "plOptions" => array(),
- "plProvidedAcls" => array(
- "folderList" => _("Shared folder"))
- ));
- }
-
-
-
/*! \brief Get posted values and check which are interesting for us.
*/
function save_object()
}
-
/*! \brief Removes the distribution list extension for the current
* object group.
*/
}
return($messages);
}
+
+
+ /*! \brief ACL settings
+ */
+ static function plInfo()
+ {
+ return (array(
+ "plShortName" => _("Shared folder"),
+ "plDescription" => _("Groupware shared folder"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array("ogroup"), // This plugin depends on
+ "plPriority" => 4, // Position in tabs
+ "plSection" => array("administration"),
+ "plCategory" => array("groups"),
+ "plOptions" => array(),
+ "plProvidedAcls" => array(
+ "folderList" => _("Shared folder"))
+ ));
+ }
+
+
+ // Should come from the sever later. #FIXME
+ function getPermissions()
+ {
+ $ret[GROUPWARE_RIGHTS_NONE] = _("None");
+ $ret[RIGHTS_GROUPWARE_READ] = _("Read");
+ $ret[RIGHTS_GROUPWARE_POST] = _("Post");
+ $ret[GROUPWARE_RIGHTS_APPEND] = _("Append");
+ $ret[RIGHTS_GROUPWARE_WRITE] = _("Write");
+ $ret[GROUPWARE_RIGHTS_ALL] = _("All");
+ return($ret);
+ }
}
?>