eZPublish  3.8
error/view.php File Reference

Variables

 $embedContent = false
 
 $embedURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'EmbedURL' )
 
 $errorHandlerList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'ErrorHandler' )
 
 $errorHandlerType = $errorINI->variable( 'ErrorSettings', 'DefaultErrorHandler' )
 
 $errorNumber = $Params['Number']
 
 $errorType = $Params['Type']
 
 $extraErrorParameters = $Params['ExtraParameters']
 
 $GLOBALS ["eZRequestError"] = true
 
 $ini =& eZINI::instance()
 
 $module =& $Params['Module']
 
 $redirectURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'RedirectURL' )
 
 $requestedURI =& $GLOBALS['eZRequestedURI']
 
 $rerunURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'RerunURL' )
 
if((isset($Params['ExtraParameters']['AccessList']))
and($ini->variable(
'RoleSettings',
'ShowAccessDeniedReason')==="enabled")) 
$res =& eZTemplateDesignResource::instance()
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:error/$errorType/$errorNumber.tpl" )
 
 $Result ['path']
 
 $siteBasics = $GLOBALS['eZSiteBasics']
 
 $tpl =& templateInit()
 
 $userObjectRequired = $siteBasics['user-object-required']
 
if($errorHandlerType!=
'redirect') if($errorHandlerType==
'redirect') else if($errorHandlerType==
'rerun') else if($errorHandlerType==
'embed') 
$userRedirectURI = ''
 
if($userObjectRequired) else
 

Variable Documentation

$embedContent = false
$embedURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'EmbedURL' )
$errorHandlerList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'ErrorHandler' )
$errorHandlerType = $errorINI->variable( 'ErrorSettings', 'DefaultErrorHandler' )
$errorNumber = $Params['Number']
$errorType = $Params['Type']

Referenced by eZModule\handleError().

$extraErrorParameters = $Params['ExtraParameters']
$GLOBALS["eZRequestError"] = true
$ini =& eZINI::instance()
$module =& $Params['Module']
$redirectURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'RedirectURL' )
$requestedURI =& $GLOBALS['eZRequestedURI']
$rerunURLList = $errorINI->variable( 'ErrorSettings-' . $errorType, 'RerunURL' )
if ((isset($Params['ExtraParameters']['AccessList'])) and($ini->variable( 'RoleSettings', 'ShowAccessDeniedReason')==="enabled")) $res =& eZTemplateDesignResource::instance()
$Result = array()
$Result['content'] =& $tpl->fetch( "design:error/$errorType/$errorNumber.tpl" )
$Result['path']
Initial value:
= array( array( 'text' => ezi18n( 'kernel/error', 'Error' ),
'url' => false ),
array( 'text' => "$errorType ($errorNumber)",
'url' => false ) )
$siteBasics = $GLOBALS['eZSiteBasics']
$tpl =& templateInit()
$userObjectRequired = $siteBasics['user-object-required']
if ($errorHandlerType!= 'redirect') if ($errorHandlerType== 'redirect') else if ($errorHandlerType== 'rerun') else if ($errorHandlerType== 'embed') $userRedirectURI = ''
if ($userObjectRequired) else
Initial value:
{
$tpl->setVariable( "current_user", false )
$tpl
Definition: eztc.php:141