function getFieldValue($fieldName)
    {
        $name = trim($fieldName);
        if (isset($this->fields)) {
            return ($this->fields[$name]);
        }
        return;
    }
function getFieldValue($fieldName)
    {
        $name = trim($fieldName);
        if (isset($this->fields)) {
            return ($this->fields[$name]);
        }
        return;
    }
Returns the value of the field with the given name

@param string fieldName
The field name of the element to return the value of

@return \em string
The value or undefined, if not found