src/View/ViewableData.php
public function getXMLValues($fields)
    {
        $result = [];

        foreach ($fields as $field) {
            $result[$field] = $this->XML_val($field);
        }

        return $result;
    }
public function getXMLValues($fields)
    {
        $result = [];

        foreach ($fields as $field) {
            $result[$field] = $this->XML_val($field);
        }

        return $result;
    }
public function getXMLValues ( $ fields ) { $ result = [ ] ; foreach ( $ fields as $ field ) { $ result [ $ field ] = $ this -> XML_val ( $ field ) ; } return $ result ; }
Get an array of XML-escaped values by field name

@param array $fields an array of field names
@return array
Get an array of XML - escaped values by field name