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

  • AbstractConditionChain
  • DataProviderInformation
  • DefaultContainer

Interfaces

  • ConditionChainInterface
  • ConditionInterface
  • ContainerInterface
  • DataProviderInformationInterface
  • 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:  * @author     Tristan Lins <tristan.lins@bit3.de>
 8:  * @copyright  The MetaModels team.
 9:  * @license    LGPL.
10:  * @filesource
11:  */
12: 
13: namespace DcGeneral\DataDefinition;
14: 
15: /**
16:  * A generic data provider information.
17:  *
18:  * @package DcGeneral\DataDefinition
19:  */
20: class DataProviderInformation implements DataProviderInformationInterface
21: {
22:     /**
23:      * The name of the data provider information.
24:      *
25:      * @var string
26:      */
27:     protected $name;
28: 
29:     /**
30:      * Flag determining if versioning is enabled for this provider or not.
31:      *
32:      * @var bool
33:      */
34:     protected $versioningEnabled;
35: 
36:     /**
37:      * {@inheritdoc}
38:      */
39:     public function setName($name)
40:     {
41:         $this->name = $name;
42: 
43:         return $this;
44:     }
45: 
46:     /**
47:      * {@inheritdoc}
48:      */
49:     public function getName()
50:     {
51:         return $this->name;
52:     }
53: 
54:     /**
55:      * {@inheritdoc}
56:      */
57:     public function setVersioningEnabled($versioningEnabled)
58:     {
59:         $this->versioningEnabled = $versioningEnabled;
60: 
61:         return $this;
62:     }
63: 
64:     /**
65:      * {@inheritdoc}
66:      */
67:     public function isVersioningEnabled()
68:     {
69:         return $this->versioningEnabled;
70:     }
71: }
72: 
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0