';
$html.=''.(count($markers)>1?'#'.($i+1).": ":'').\esc_html($markers[$i]->Address->FormattedAddress).'';
$html.='';
}
}
return [[
"name"=>$this->Value->Label,
'value'=>$html,
'field'=>$this->Value,
'key'=>$this->Value->Label,
'display'=>$html
]];
}
private function AddLine($label,$property)
{
$value=$this->Value->Value;
if(!isset($value->$property)||$value->$property=='')
return '';
$value=$value->$property;
$section='';
$section.='';
$section.=''.\esc_html($value).'';
$section.='
';
return $section;
}
}