40 lines
947 B
PHP
40 lines
947 B
PHP
<?php
|
|
|
|
/**
|
|
* The Legend of Z
|
|
*
|
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
|
* @copyright 2014 Heinrich-Heine-Universität Düsseldorf
|
|
* @license http://www.gnu.org/licenses/gpl.html
|
|
* @link https://bitbucket.org/coderkun/the-legend-of-z
|
|
*/
|
|
|
|
namespace hhu\z\agents\bottomlevel;
|
|
|
|
|
|
/**
|
|
* Agent to display a menu.
|
|
*
|
|
* @author Oliver Hanraths <oliver.hanraths@uni-duesseldorf.de>
|
|
*/
|
|
class MenuAgent extends \nre\agents\BottomlevelAgent
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Action: index.
|
|
*
|
|
* @param \nre\core\Request $request Current request
|
|
* @param \nre\core\Response $response Current response
|
|
*/
|
|
public function index(\nre\core\Request $request, \nre\core\Response $response)
|
|
{
|
|
// Add Seminary menu
|
|
$this->addSubAgent('Seminarymenu');
|
|
}
|
|
|
|
}
|
|
|
|
?>
|