31 if (isset($renderedData[
'status']) && is_array($renderedData[
'status'])) {
34 }
catch (StatusException $e) {
35 $renderedData[
'status'] = array(array(
36 'severity' =>
'error',
37 'title' => htmlspecialchars($e->getMessage())
54 foreach ($statusArray as $status) {
56 throw new StatusException (
57 'Object must implement StatusInterface',
74 $arrayStatus = array();
75 $arrayStatus[
'severity'] = htmlspecialchars($status->
getSeverity());
76 $arrayStatus[
'title'] = htmlspecialchars($status->
getTitle());
77 $arrayStatus[
'message'] = htmlspecialchars($status->
getMessage());
transformStatusMessagesToArray(array $statusArray=array())
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
transformStatusToArray(StatusInterface $status)