public function toString($objectAttribute)
    {
        $value = $objectAttribute->content();
        $value = $value instanceof Value ? $value : $this->fieldType->getEmptyValue();

        return (string)$value;
    }
public function toString($objectAttribute)
    {
        $value = $objectAttribute->content();
        $value = $value instanceof Value ? $value : $this->fieldType->getEmptyValue();

        return (string)$value;
    }
public function toString ( $ objectAttribute ) { $ value = $ objectAttribute -> content ( ) ; $ value = $ value instanceof Value ? $ value : $ this -> fieldType -> getEmptyValue ( ) ; return ( string ) $ value ; }
Returns string representation of a content object attribute.

@param eZContentObjectAttribute $objectAttribute

@return string
Returns string representation of a content object attribute .