
Öffentliche Methoden | |
| show () | |
Definiert in Zeile 66 der Datei MainAction.class.php.
| MainAction::show | ( | ) |
Definiert in Zeile 68 der Datei MainAction.class.php.
Benutzt Action::getRequestId(), Action::getRequestVar(), Session::getUser(), Action::lastModified(), Action::setTemplateVar(), subActionName und Html::url().
00069 { 00070 $doActionName = $this->subActionName; 00071 00072 $user = Session::getUser(); 00073 if ( is_object($user) && isset($user->loginDate) ) 00074 $this->lastModified( $user->loginDate ); 00075 00076 $doSubActionName = $this->getRequestVar( REQ_PARAM_TARGETSUBACTION ); 00077 00078 // Bestimmte Parameter weiterleiten 00079 $params = array(); 00080 00081 foreach( array('elementid') as $p ) 00082 { 00083 if ( $this->getRequestVar( $p ) != '' ) 00084 $params[ $p ] = $this->getRequestVar( $p ); 00085 } 00086 00087 // Variablen fuellen 00088 $this->setTemplateVar('frame_src_main_menu' ,Html::url( 'mainmenu' ,$doActionName ,$this->getRequestId(),$params ) ); 00089 $this->setTemplateVar('frame_src_main_main' ,Html::url( $doActionName,$doSubActionName,$this->getRequestId(),$params ) ); 00090 $this->setTemplateVar('frame_src_border' ,Html::url( 'border' ) ); 00091 $this->setTemplateVar('frame_src_background',Html::url( 'background' ) ); 00092 }
1.5.8