IPreviewableFieldType

Type
Interface
Namespace
Craft
Implemented by
Craft\AssetsFieldType, Craft\BaseElementFieldType, Craft\BaseOptionsFieldType, Craft\CategoriesFieldType, Craft\CheckboxesFieldType, Craft\ColorFieldType, Craft\DateFieldType, Craft\DropdownFieldType, Craft\EntriesFieldType, Craft\LightswitchFieldType, Craft\MultiSelectFieldType, Craft\NumberFieldType, Craft\PlainTextFieldType, Craft\RadioButtonsFieldType, Craft\TagsFieldType, Craft\UsersFieldType
Since
1.0

Interface IPreviewableFieldType

See also http://craftcms.com

View source (opens new window)

# Public Methods

Method Description
getTableAttributeHtml() Returns the HTML that should be shown for this field in Table View.

# getTableAttributeHtml()

Returns the HTML that should be shown for this field in Table View.

View source (opens new window)

Arguments

  • $value (mixed)

Returns

string (opens new window), null (opens new window)

Signature

public abstract string, null getTableAttributeHtml ( $value )