4include_once(
"./Services/Component/classes/class.ilPluginConfigGUI.php");
 
    5include_once(
"class.ilCloudPluginConfig.php");
 
   68        include_once(
"class.ilCloudPluginConfig.php");
 
   91        $tpl->setContent($this->form->getHTML());
 
   96        foreach ($this->
fields as $key => $item)
 
   99            $values[$key] = $this->
object->getValue($key);
 
  100            if (is_array($item[
"subelements"]))
 
  102                foreach ($item[
"subelements"] as $subkey => $subitem)
 
  104                    $values[$key . 
"_" . $subkey] = $this->
object->getValue($key . 
"_" . $subkey);
 
  110        $this->form->setValuesByArray($values);
 
  122        include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
 
  125        foreach ($this->
fields as $key => $item)
 
  127            $field = 
new $item[
"type"]($this->plugin_object->txt($key), $key);
 
  128            $field->setInfo($this->plugin_object->txt($item[
"info"]));
 
  129            if (is_array($item[
"subelements"]))
 
  131                foreach ($item[
"subelements"] as $subkey => $subitem)
 
  133                    $subfield = 
new $subitem[
"type"]($this->plugin_object->txt($key . 
"_" . $subkey), $key . 
"_" . $subkey);
 
  134                    $subfield->setInfo($this->plugin_object->txt($subitem[
"info"]));
 
  135                    $field->addSubItem($subfield);
 
  139            $this->form->addItem($field);
 
  142        $this->form->addCommandButton(
"save", 
$lng->txt(
"save"));
 
  144        $this->form->setTitle($this->plugin_object->txt(
"configuration"));
 
  145        $this->form->setFormAction(
$ilCtrl->getFormAction($this));
 
  157        if ($this->form->checkInput())
 
  161            foreach ($this->
fields as $key => $item)
 
  164                $this->
object->setValue($key, $this->form->getInput($key));
 
  165                if (is_array($item[
"subelements"]))
 
  167                    foreach ($item[
"subelements"] as $subkey => $subitem)
 
  169                        $this->
object->setValue($key . 
"_" . $subkey, $this->form->getInput($key . 
"_" . $subkey));
 
  175            $ilCtrl->redirect($this, 
"configure");
 
  178            $this->form->setValuesByPost();
 
  179            $tpl->setContent($this->form->getHtml());
 
An exception for terminatinating execution or to throw for unit testing.
Class ilCloudPluginConfigGUI.
configure()
Configure screen.
performCommand($cmd)
Handles all commmands, default is "configure".
Class ilCloudPluginConfig.
Parent class for all plugin config gui classes.
getPluginObject()
Get plugin object.