Class Giscuit_Controller_Action_Helper_IsAllowed

Description

Check if a given resource and privilege is allowed for current user

  • copyright: Copyright (c) 2012 VEC

Located in /Controller/Action/Helper/IsAllowed.php (line 28)

Zend_Controller_Action_Helper_Abstract
   |
   --Giscuit_Controller_Action_Helper_IsAllowed
Method Summary
 direct (string $resource, [string $privilege = NULL]) bool
 isAllowed (string $resource, [string $privilege = NULL]) bool
Methods
direct (line 88)

Strategy pattern: call helper as helper broker method

Check if a given resource and privilege is allowed for current user

  • access: public
bool direct (string $resource, [string $privilege = NULL])
  • string $resource: Resource
  • string $privilege: Privilege
isAllowed (line 47)

Check if a given resource and privilege is allowed for current user

  • access: public
bool isAllowed (string $resource, [string $privilege = NULL])
  • string $resource: Resource
  • string $privilege: Privilege

Documentation generated on Wed, 23 Jan 2013 15:54:43 +0000 by phpDocumentor 1.4.3