Ejemplo n.º 1
0
 /**
  * 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;
     }
 }
Ejemplo n.º 2
0
 /**
  * Gibt das Hauptformular zurück
  * @return Myself_Form_PageAble
  */
 public function getMainForm()
 {
     return Myself_Form_PageAble::getMainForm();
 }
Ejemplo n.º 3
0
 /**
  * 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());
 }