Version: current

# Class TableListField_Item

A single record in a TableListField.

  Object
  ViewableData implements IteratorAggregate
  TableListField_Item

### Direct known subclasses

`CartTableListField_Item`, `ComplexTableField_Item`, `SubpageListField_Item`, `TableField_Item`

### Indirect known subclasses

`CommentTableField_Item`, `DataObjectManager_Item`, `ManyManyComplexTableField_Item`, `ManyManyDataObjectManager_Item`, `ManyManyFileDataObjectManager_Item`, `MemberTableField_Item`, `FileDataObjectManager_Item`, `HasManyComplexTableField_Item`, `HasManyDataObjectManager_Item`, `HasManyFileDataObjectManager_Item`, `HasOneComplexTableField_Item`, `HasOneDataObjectManager_Item`, `HasOneFileDataObjectManager_Item`, `ImageDataObjectManager_Item`

Package: forms\fields-relational
See: ``TableListField``
Located at sapphire/forms/TableListField.php

## Methods summary

`public` | # `__construct( mixed $item, mixed $parent )` #### Overrides `Object::__construct`
`public` | # `ID( )`
`public` | # `Parent( )`
`public` | # `Fields( mixed $xmlSafe = true )`
`public` | # `Markable( )`
`public boolean` | # `Can( string $mode )` Checks global permissions for field in TableListField->Can(). If they are allowed, it checks for object permissions by assuming a method with "can" + $mode parameter naming, e.g. canDelete(). Checks global permissions for field in TableListField->Can(). If they are allowed, it checks for object permissions by assuming a method with "can" + $mode parameter naming, e.g. canDelete(). #### Parameters $mode string $mode See `TableListField::$permissions` array. #### Returns `boolean` boolean
`public` | # `Link( mixed $action = null )`
`public `DataObjectSet`` | # `Actions( )` Returns all row-based actions not disallowed through permissions. See TableListField->Action for a similiar dummy-function to work around template-inheritance issues. Returns all row-based actions not disallowed through permissions. See TableListField->Action for a similiar dummy-function to work around template-inheritance issues. #### Returns ``DataObjectSet`` DataObjectSet
`public` | # `BaseLink( )`
`public` | # `DeleteLink( )`
`public` | # `MarkingCheckbox( )`
`public` | # `HighlightClasses( )`
`public` | # `isReadonly( )` Legacy: Please use permissions instead Legacy: Please use permissions instead

### Methods inherited from ViewableData

`ATT_val()`, `BaseHref()`, `CSSClasses()`, `ColumnBreak()`, `ColumnCalc()`, `ColumnNumber()`, `ColumnPad()`, `ColumnPos()`, `CurrentMember()`, `CurrentPage()`, `Debug()`, `Even()`, `EvenOdd()`, `First()`, `FirstLast()`, `HasPerm()`, `IsAjax()`, `JS_val()`, `Last()`, `Me()`, `Middle()`, `MiddleString()`, `Modulus()`, `MultipleOf()`, `Odd()`, `Pos()`, `RAW_val()`, `SQL_val()`, `ThemeDir()`, `ThemeName()`, `Top()`, `TotalItems()`, `XML_val()`, `__get()`, `__isset()`, `__set()`, `buildCastingCache()`, `cachedCall()`, `castingClass()`, `castingHelper()`, `castingHelperPair()`, `castingObjectCreator()`, `castingObjectCreatorPair()`, `customise()`, `defineMethods()`, `escapeTypeForField()`, `getField()`, `getIterator()`, `getSecurityID()`, `getXMLValues()`, `hasField()`, `hasValue()`, `i18nLocale()`, `iteratorProperties()`, `obj()`, `renderWith()`, `setCustomisedObj()`, `setField()`

### Methods inherited from Object

`__call()`, `__toString()`, `__wakeup()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `exists()`, `extInstance()`, `extend()`, `getCustomClass()`, `getExtensionInstance()`, `getExtensionInstances()`, `get_extensions()`, `get_static()`, `hasExtension()`, `hasMethod()`, `has_extension()`, `invokeWithExtensions()`, `is_a()`, `loadCache()`, `parentClass()`, `parse_class_spec()`, `remove_extension()`, `sanitiseCachename()`, `saveCache()`, `set_stat()`, `set_static()`, `set_uninherited()`, `stat()`, `strong_create()`, `uninherited()`, `uninherited_static()`, `useCustomClass()`

### Magic methods summary

## Properties summary

`protected `DataObject`` | $item | # The underlying data record, usually an element of TableListField->sourceItems(). The underlying data record, usually an element of TableListField->sourceItems().
`protected `TableListField`` | $parent | #

### Properties inherited from ViewableData

`$casting`, `$customisedObject`, `$default_cast`, `$failover`, `$iteratorPos`, `$iteratorTotalItems`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -