PHP Class Gc\View\Helper\Admin

Inheritance: extends Zend\View\Helper\AbstractHelper
Mostra file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$auth Zend\Authentication\AuthenticationService Authentication

Public Methods

Method Description
__construct ( Zend\Authentication\AuthenticationService $auth ) Constructor
__invoke ( ) : Model | boolean Retrieve the current admin

Method Details

__construct() public method

Constructor
public __construct ( Zend\Authentication\AuthenticationService $auth )
$auth Zend\Authentication\AuthenticationService Authentication service

__invoke() public method

Retrieve the current admin
public __invoke ( ) : Model | boolean
return Gc\User\Model | boolean

Property Details

$auth protected_oe property

Authentication
protected AuthenticationService,Zend\Authentication $auth
return Zend\Authentication\AuthenticationService