/** * Basis Formular setzen: * @param Myself_Form_PageAble $main */ public static function setMainForm(Myself_Form_PageAble_Interface $main) { if (self::$_main_form === null) { self::$_main_form = $main; } }
/** * Gibt das Hauptformular zurück * @return Myself_Form_PageAble */ public function getMainForm() { return Myself_Form_PageAble::getMainForm(); }
/** * Initialisiert diesen Action Controller */ public function init() { // Namensraum für die Formulare dieses Controllers angeben: Myself_Form_PageAble::setNamespace($this->getSessionNamespace()); // Parentformular setzen: Myself_Form_PageAble::setMainForm($this->getForm()); }