Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • Command
  • CommandCollection
  • CutCommand
  • DefaultListingConfig
  • DefaultModelFormatterConfig
  • DefaultPanelLayout
  • DefaultPanelRow
  • DefaultPanelRowCollection

Interfaces

  • CommandCollectionInterface
  • CommandInterface
  • CutCommandInterface
  • ListingConfigInterface
  • ModelFormatterConfigInterface
  • PanelLayoutInterface
  • PanelRowCollectionInterface
  • PanelRowInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Interface ModelFormatterConfigInterface

The model formatter format a model and create a string representation.

Direct known implementers

DcGeneral\DataDefinition\Definition\View\DefaultModelFormatterConfig
Namespace: DcGeneral\DataDefinition\Definition\View
Package: DcGeneral\DataDefinition\Definition\View
Located at DataDefinition/Definition/View/ModelFormatterConfigInterface.php
Methods summary
public DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
# setPropertyNames( array $propertyNames )

Set the used property names.

Set the used property names.

Parameters

$propertyNames
array
$propertyNames The property names.

Returns

DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
public array
# getPropertyNames( )

Return the used property names.

Return the used property names.

Returns

array
public DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
# setFormat( string $format )

Set the format string.

Set the format string.

Parameters

$format
string
$format The format string to use.

Returns

DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
public string
# getFormat( )

Return the format string.

Return the format string.

Returns

string
public DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
# setMaxLength( integer|null $maxLength )

Set the formatted maximum length.

Set the formatted maximum length.

Parameters

$maxLength
integer|null
$maxLength The length to use - pass null to clear the cutting.

Returns

DcGeneral\DataDefinition\Definition\View\ModelFormatterConfigInterface
public integer|null
# getMaxLength( )

Return the formatted maximum length.

Return the formatted maximum length.

Returns

integer|null
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0