// <inp2:lang.auto-phrase_Field name="DateFormat"/> - returns field DateFormat value from language (LanguageId is extracted from current phrase object)
// when it's possible, that autoload fails do nothing
return;
}
if($this->Application->isDebugMode()){
$this->Application->Debugger->appendTrace();
}
trigger_error('ItemLoad Permission Failed for prefix ['.$event->getPrefixSpecial().'] in <strong>checkItemStatus</strong>, leading to "404 Not Found"',E_USER_NOTICE);
header('HTTP/1.0 404 Not Found');
while(ob_get_level()){
ob_end_clean();
}
// object is used inside template parsing, so break out any parsing and return error document
// non-root user AND on front-end AND (not editing mode || incorrect status)
$perm_status=false;
}
}
else{
$perm_status=false;
}
if(!$perm_status){
// when no permission to view item -> redirect to no pemrission template
if($this->Application->isDebugMode()){
$this->Application->Debugger->appendTrace();
}
trigger_error('ItemLoad Permission Failed for prefix ['.$event->getPrefixSpecial().'] in <strong>'.($status_checked?'checkItemStatus':'CheckPermission').'</strong>',E_USER_NOTICE);