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

  • DataDefinitionContainer
  • DC_General
  • DcGeneral
  • DefaultEnvironment

Interfaces

  • ContainerAwareInterface
  • DataContainerInterface
  • DataDefinitionContainerInterface
  • EnvironmentAwareInterface
  • EnvironmentInterface
  • InputProviderInterface
  • ModelAwareInterface
  • ViewAwareInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Interface DataDefinitionContainerInterface

This implementation describes a data definition container.

A data definition container is the top level container where all data definitions get stored.

Direct known implementers

DcGeneral\DataDefinitionContainer
Namespace: DcGeneral
Package: DcGeneral
Located at DataDefinitionContainerInterface.php
Methods summary
public DcGeneral\DataDefinitionContainerInterface
# setDefinition( string $name, DcGeneral\DataDefinition\ContainerInterface $definition )

Add or override a definition in the container.

Add or override a definition in the container.

Parameters

$name
string
$name Name of the definition.
$definition
DcGeneral\DataDefinition\ContainerInterface
$definition The definition to store.

Returns

DcGeneral\DataDefinitionContainerInterface
public boolean
# hasDefinition( string $name )

Check if a definition is contained in the container.

Check if a definition is contained in the container.

Parameters

$name
string
$name The name of the definition to retrieve.

Returns

boolean
public DcGeneral\DataDefinition\ContainerInterface
# getDefinition( string $name )

Retrieve a definition from the container (if it exists).

Retrieve a definition from the container (if it exists).

If the definition does not exist, an exception is thrown.

Parameters

$name
string
$name The name of the definition to retrieve.

Returns

DcGeneral\DataDefinition\ContainerInterface
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0