protected function getSimple($fieldName, $objectName = "object", $default = null)
    {
        if (isset($this->{$objectName}->{$fieldName})) {
            $this->out[$fieldName] = trim($this->{$objectName}->{$fieldName});
        } else {
            $this->out[$fieldName] = $default;
        }

        return $this;
    }
protected function getSimple($fieldName, $objectName = "object", $default = null)
    {
        if (isset($this->{$objectName}->{$fieldName})) {
            $this->out[$fieldName] = trim($this->{$objectName}->{$fieldName});
        } else {
            $this->out[$fieldName] = $default;
        }

        return $this;
    }
protected function getSimple ( $ fieldName , $ objectName = "object" , $ default = null ) { if ( isset ( $ this -> { $ objectName } -> { $ fieldName } ) ) { $ this -> out [ $ fieldName ] = trim ( $ this -> { $ objectName } -> { $ fieldName } ) ; } else { $ this -> out [ $ fieldName ] = $ default ; } return $ this ; }
Common Reading of a Single Field

@param string $fieldName  Field Identifier / Name
@param string $objectName Name of private object to read (Default : "object")
@param mixed  $default    Default Value if unset

@return self
Common Reading of a Single Field