From: hickert Date: Mon, 11 Oct 2010 14:08:41 +0000 (+0000) Subject: Updated dist plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ff1469500fc671e8b8f03d44f52a07347ea0f9d1;p=gosa.git Updated dist plugin -Added comments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19980 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/groupware/admin/ogroups/DistributionList/class_DistributionList.inc b/gosa-plugins/groupware/admin/ogroups/DistributionList/class_DistributionList.inc index 847b90982..0fdc83c76 100644 --- a/gosa-plugins/groupware/admin/ogroups/DistributionList/class_DistributionList.inc +++ b/gosa-plugins/groupware/admin/ogroups/DistributionList/class_DistributionList.inc @@ -2,20 +2,27 @@ class DistributionList extends plugin { + public $view_logged = FALSE; + // Error hanlding related attributes. private $initialized = FALSE; private $rpcError = FALSE; private $rpcErrorMessage = ""; - public $view_logged = FALSE; + // Attribute definition public $attributes = array('primaryMailAddress','alternateAddresses','memberList','mailSizeLimit'); - public $mailSizeLimit = NULL; public $primaryMailAddress = ""; public $alternateAddresses = array(); public $memberList = array(); + // Feature handling + private $featuresEnabled = array(); + + /*! \brief Constructs the plugin, loads required parent values + * and initiates the initialization. + */ function __construct($config, $dn, $attrs = NULL) { plugin::plugin($config, $dn, $attrs); @@ -35,6 +42,10 @@ class DistributionList extends plugin $this->init(); } + + /*! \brief Try to initialize the plugin using a json-rpc connection + * to the gosa-ng server. + */ function init() { # // Check whether a mathing distribution-list exsits or not? @@ -238,7 +249,8 @@ class DistributionList extends plugin - + /*! \brief Get posted values and check which are interesting for us. + */ function save_object() { if(isset($_POST['DistributionList_posted'])){