ApiControllerSecurityUtil Class Reference

Inheritance diagram for ApiControllerSecurityUtil:
ControllerSecurityUtil

Static Protected Member Functions

static renderAccessFailureContent ($fromAjax=false, $nonAjaxFailureMessageContent=null)

Detailed Description

ApiControllerSecurityUtil::renderAccessFailureView shouldn't generate view, but rather throw exception

Definition at line 41 of file ApiControllerSecurityUtil.php.


Member Function Documentation

static renderAccessFailureContent ( fromAjax = false,
nonAjaxFailureMessageContent = null 
) [static, protected]

Generate security exception, in case when user doesn't have permissions for requested action.

Parameters:
boolean $fromAjax
$nonAjaxFailureMessageContent 
Exceptions:
SecurityException 

Reimplemented from ControllerSecurityUtil.

Definition at line 49 of file ApiControllerSecurityUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Apr 29 07:10:21 2017