Code

Updated class hirachy
[gosa.git] / include / class_GOsaGuiElement.inc
1 <?php
3 /**
4  */
5 abstract class GOsaGuiElement implements GOsaGuiElementInteraction {
7   protected $errorMessage= "asdf";
9   public function render() {
10     if ($this->errorMessage) {
11       return "<div class='GOsaGuiElementError'>\n".$this->__render()."</div>\n";
12     } else {
13       return $this->__render();
14     }
15   }
17   public function process() {
18     return $this->__process();
19   }
21   abstract protected function __render();
23   abstract protected function __process();
24 }
26 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
27 ?>