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
 1: <?php
 2: /**
 3:  * PHP version 5
 4:  * @package    generalDriver
 5:  * @author     Christian Schiffler <c.schiffler@cyberspectrum.de>
 6:  * @author     Stefan Heimes <stefan_heimes@hotmail.com>
 7:  * @copyright  The MetaModels team.
 8:  * @license    LGPL.
 9:  * @filesource
10:  */
11: 
12: namespace DcGeneral;
13: 
14: /**
15:  * This class holds everything together.
16:  *
17:  * @package DcGeneral
18:  */
19: class DcGeneral
20:     implements EnvironmentAwareInterface
21: {
22:     /**
23:      * The environment instance.
24:      *
25:      * @var EnvironmentInterface
26:      */
27:     protected $environment;
28: 
29:     /**
30:      * Create a new instance.
31:      *
32:      * @param EnvironmentInterface $environment The environment.
33:      */
34:     public function __construct(EnvironmentInterface $environment)
35:     {
36:         $this->environment = $environment;
37:     }
38: 
39:     /**
40:      * {@inheritDoc}
41:      */
42:     public function getEnvironment()
43:     {
44:         return $this->environment;
45:     }
46: }
47: 
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0