// <inp2:lang.auto-phrase_Field name="DateFormat"/> - returns field DateFormat value from language (LanguageId is extracted from current phrase object)
// 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_WARNING);