public function title($objectAttribute, $name = null)
    {
        $value = $objectAttribute->content();
        if (!$value instanceof Value) {
            return '';
        }

        return $this->fieldType->getName($value);
    }
public function title($objectAttribute, $name = null)
    {
        $value = $objectAttribute->content();
        if (!$value instanceof Value) {
            return '';
        }

        return $this->fieldType->getName($value);
    }
public function title ( $ objectAttribute , $ name = null ) { $ value = $ objectAttribute -> content ( ) ; if ( ! $ value instanceof Value ) { return '' ; } return $ this -> fieldType -> getName ( $ value ) ; }
Returns the title of the current type, this is to form the title of the object.

@param eZContentObjectAttribute $objectAttribute
@param string $name

@return string
Returns the title of the current type this is to form the title of the object .