Thomas Gelf ebbd4119c2 New approach for view helpers - register anonymous functions
* May be subject to change
* TODO: Find out how to phpDoc them
* Removed a bunch of "old-style" view helpers
* more to come
2014-03-17 17:14:16 +01:00

11 lines
158 B
PHP

<?php
namespace Icinga\Web\View;
use Icinga\Authentication\Manager;
$this->addHelperFunction('auth', function () {
return Manager::getInstance();
});