From aa1d721ea2b96b99b8892a6d85e1dcc24e73f145 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 7 May 2008 08:21:46 +0000 Subject: [PATCH] Added comments. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10804 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../services/kerberos/class_goKrbServer.inc | 30 ++++++++++++++- .../services/kerberos/class_krb5_policy.inc | 38 ++++++++++++++++++- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc index fda2ebb1a..e90adde6c 100644 --- a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc +++ b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_goKrbServer.inc @@ -1,5 +1,26 @@ config = $config; @@ -32,6 +55,11 @@ class krb5_policy extends plugin $this->init_name = $this->name; } + + /*! \brief Returns a HTML ui which allows + configuring this policy + @return String a HTML interface. + */ public function execute() { $display = plugin::execute(); @@ -45,6 +73,8 @@ class krb5_policy extends plugin } + /*! \brief Saves the HTML posted variables + */ public function save_object() { if(isset($_POST['Policy_Posted'])){ @@ -59,7 +89,10 @@ class krb5_policy extends plugin } } - + + /*! \brief Checks the given input + @return Array Containing errors about incorrect values. + */ public function check() { $message = array(); @@ -120,6 +153,9 @@ class krb5_policy extends plugin } + /*! \brief Returns object data of the currently edited policy + @return Array A multidimensional array containing policy informations. + */ public function save() { $ret = array(); -- 2.30.2