public function prepareTableValue($data, XMLElement $link = null, $entry_id = null)
    {
        $value = $this->prepareReadableValue($data, $entry_id, true, __('None'));

        if ($link) {
            $link->setValue($value);

            return $link->generate();
        }

        return $value;
    }
public function prepareTableValue($data, XMLElement $link = null, $entry_id = null)
    {
        $value = $this->prepareReadableValue($data, $entry_id, true, __('None'));

        if ($link) {
            $link->setValue($value);

            return $link->generate();
        }

        return $value;
    }
public function prepareTableValue ( $ data , XMLElement $ link = null , $ entry_id = null ) { $ value = $ this -> prepareReadableValue ( $ data , $ entry_id , true , __ ( 'None' ) ) ; if ( $ link ) { $ link -> setValue ( $ value ) ; return $ link -> generate ( ) ; } return $ value ; }
Format this field value for display in the publish index tables.

Since Symphony 2.5.0, this function will call `Field::prepareReadableValue`
in order to get the field's human readable value.

@param array $data
an associative array of data for this string. At minimum this requires a
key of 'value'.
@param XMLElement $link (optional)
an XML link structure to append the content of this to provided it is not
null. it defaults to null.
@param integer $entry_id (optional)
An option entry ID for more intelligent processing. defaults to null
@return string
the formatted string summary of the values of this field instance.
Format this field value for display in the publish index tables .