Added base routing + moved rekeningen
This commit is contained in:
32
src/Application/Helper/Header.php
Normal file
32
src/Application/Helper/Header.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Informatica Eindproject D4p
|
||||
* 6in3, Stedelijk Gymnasium Nijmegen
|
||||
* Docent: Hans de Wolf
|
||||
*
|
||||
* ==================
|
||||
*
|
||||
* Daniel Boutros,
|
||||
* Christiaan Goossens,
|
||||
* Jelmer Hinssen
|
||||
*/
|
||||
|
||||
namespace Inforbank\Application\Helper;
|
||||
|
||||
use Inforbank\Application;
|
||||
use Inforbank\Application\Helper\Klant;
|
||||
use Inforbank\Proxy;
|
||||
|
||||
class Header
|
||||
{
|
||||
public static function getHeaderData()
|
||||
{
|
||||
$klant = Klant::getCurrentUser();
|
||||
$base = Proxy::$route->getBaseUrl() . "/";
|
||||
return array(
|
||||
'klant' => $klant,
|
||||
'base' => $base
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user