UserIsAllowed

View helper for authorizing the current user.
extends Zend\View\Helper\AbstractHelper
Methods Summary
public
# __construct( Omeka\Permissions\Acl $acl )
Construct the helper.
public
# __invoke( \Resource\ResourceInterface|string $resource = NULL, string $privilege = NULL )
Authorize the current user.
Methods inherited from Zend\View\Helper\AbstractHelper
setView(), getView()
Properties Summary
protected Omeka\Permissions\Acl $acl
# NULL
Properties inherited from Zend\View\Helper\AbstractHelper
$view