PHP Class Sulu\Component\Rest\ListBuilder\FieldDescriptor

Inheritance: implements Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface
ファイルを表示 Open project: sulu/sulu

Public Methods

Method Description
__construct ( $name, $translation = null, $disabled = false, $default = false, $type = '', $width = '', $minWidth = '', $sortable = true, $editable = false, $cssClass = '' )
compare ( Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface $other )
getClass ( )
getDefault ( )
getDisabled ( )
getEditable ( )
getMetadata ( )
getMinWidth ( )
getName ( )
getSortable ( )
getTranslation ( )
getType ( )
getWidth ( )
setMetadata ( PropertyMetadata $metadata ) Sets metadata for property.

Method Details

__construct() public method

public __construct ( $name, $translation = null, $disabled = false, $default = false, $type = '', $width = '', $minWidth = '', $sortable = true, $editable = false, $cssClass = '' )

compare() public method

public compare ( Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface $other )
$other Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface

getClass() public method

public getClass ( )

getDefault() public method

public getDefault ( )

getDisabled() public method

public getDisabled ( )

getEditable() public method

public getEditable ( )

getMetadata() public method

public getMetadata ( )

getMinWidth() public method

public getMinWidth ( )

getName() public method

public getName ( )

getSortable() public method

public getSortable ( )

getTranslation() public method

public getTranslation ( )

getType() public method

public getType ( )

getWidth() public method

public getWidth ( )

setMetadata() public method

Sets metadata for property.
public setMetadata ( PropertyMetadata $metadata )
$metadata Sulu\Component\Rest\ListBuilder\Metadata\PropertyMetadata