public function exportFieldValue($name, $exportHandler = null)
    {
        if (!is_string($name)) {
            throw new InvalidArgumentException(
                "invalid value provided for 'name'; ".
                "expecting a field name as string"
            );
        }
        else if (($field = $this->getField($name)) == null) {
            throw new UnknownFieldException($name);
        }
        return $field->exportValue($exportHandler);
    }
public function exportFieldValue($name, $exportHandler = null)
    {
        if (!is_string($name)) {
            throw new InvalidArgumentException(
                "invalid value provided for 'name'; ".
                "expecting a field name as string"
            );
        }
        else if (($field = $this->getField($name)) == null) {
            throw new UnknownFieldException($name);
        }
        return $field->exportValue($exportHandler);
    }
public function exportFieldValue ( $ name , $ exportHandler = null ) { if ( ! is_string ( $ name ) ) { throw new InvalidArgumentException ( "invalid value provided for 'name'; " . "expecting a field name as string" ) ; } else if ( ( $ field = $ this -> getField ( $ name ) ) == null ) { throw new UnknownFieldException ( $ name ) ; } return $ field -> exportValue ( $ exportHandler ) ; }
Convenience method to get a particular field value

@param string $name The field name
@param integer|null $exportHandler AN export handler
@return mixed
@throws \InvalidArgumentException If provided name does not exist
Convenience method to get a particular field value