TYPO3 CMS  TYPO3_6-2
ImageMagickCommandsViewHelper.php
Go to the documentation of this file.
1 <?php
3 
21 
28  public function render(array $commands = array()) {
29  $result = array();
30  foreach ($commands as $commandGroup) {
31  $result[] = 'Command: ' . $commandGroup[1];
32  // If 3 elements: last one is result
33  if (count($commandGroup) === 3) {
34  $result[] = 'Result: ' . $commandGroup[2];
35  }
36  }
37  return '<textarea rows="' . count($result) . '">' . implode(LF, $result) . '</textarea>';
38  }
39 }
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren&#39;t numeric.