Esempio n. 1
0
    /**
     * Loads the nessecarry templates and invokes the html generating.
     */
    public function render()
    {
        $app = jpWotApp::getInstance();
        jpWotTemplate::render('main.navigation');
        ?>
		<div id="main" role="main">
			<?php 
        jpWotTemplate::render($app->getPageKey() . '.filterarea', $this->_controller->getRequestData($app->getPageKey()));
        if (!empty($this->_model)) {
            jpWotTemplate::render($app->getPageKey() . '.' . $this->_model->getApiCall(), array('result' => $this->_model->getData()));
        }
        ?>
		</div>
		<?php 
    }