Lines Matching refs:content
15 * @param string $content - [Optional] - append to this variable if given
16 * @return string - an array as an HTML list or $content if given as variable
18 public static function formatAsHtmlList(array $toPrint, &$content = ""): string
25 $content .= '<ul>';
28 $content .= '<li>' . $key . ' : ';
29 self::formatAsHtmlList($value, $content);
30 $content .= '</li>';
36 $content .= '<li>' . $key . ' : ' . $stringValue . '</li>';
39 $content .= '</ul>';
40 return $content;