';
if (null !== ($s = $row->getName())) {
$out .= $this->renderer->escape($s);
}
$out .= ' | ';
foreach ($row->value->contents as $field) {
$out .= 'getType())) {
$type = $this->renderer->escape($s);
if ($field->reference) {
$ref = '&';
$type = $ref.$type;
}
if (null !== ($s = $field->getSize())) {
$size .= ' ('.$this->renderer->escape($s).')';
}
}
if ($type) {
$out .= ' title="'.$type.$size.'"';
}
$out .= '>';
switch ($field->type) {
case 'boolean':
$out .= $field->value->contents ? ''.$ref.'true' : ''.$ref.'false';
break;
case 'integer':
case 'double':
$out .= (string) $field->value->contents;
break;
case 'null':
$out .= ''.$ref.'null';
break;
case 'string':
if ($field->encoding) {
$val = $field->value->contents;
if (RichRenderer::$strlen_max && self::$respect_str_length) {
$val = Utils::truncateString($val, RichRenderer::$strlen_max);
}
$out .= $this->renderer->escape($val);
} else {
$out .= ''.$type.'';
}
break;
case 'array':
$out .= ''.$ref.'array'.$size;
break;
case 'object':
$out .= ''.$ref.$this->renderer->escape($field->classname).''.$size;
break;
case 'resource':
$out .= ''.$ref.'resource';
break;
default:
$out .= ''.$ref.'unknown';
break;
}
if (\in_array('blacklist', $field->hints, true)) {
$out .= ' Blacklisted';
} elseif (\in_array('recursion', $field->hints, true)) {
$out .= ' Recursion';
} elseif (\in_array('depth_limit', $field->hints, true)) {
$out .= ' Depth Limit';
}
$out .= ' | ';
}
$out .= '
';
}
$out .= '