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

  • DefaultFilterElementInformation
  • DefaultLimitElementInformation
  • DefaultSearchElementInformation
  • DefaultSortElementInformation
  • DefaultSubmitElementInformation

Interfaces

  • ElementInformationInterface
  • FilterElementInformationInterface
  • LimitElementInformationInterface
  • SearchElementInformationInterface
  • SortElementInformationInterface
  • SubmitElementInformationInterface
  • 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\Definition\View\Panel;
14: 
15: /**
16:  * Class DefaultFilterElementInformation.
17:  *
18:  * Default implementation of a filter definition for a property.
19:  *
20:  * @package DcGeneral\DataDefinition\Definition\View\Panel
21:  */
22: class DefaultFilterElementInformation implements FilterElementInformationInterface
23: {
24:     /**
25:      * The name of the property to filter on.
26:      *
27:      * @var string
28:      */
29:     protected $propertyName;
30: 
31:     /**
32:      * {@inheritDoc}
33:      */
34:     public function getName()
35:     {
36:         return sprintf('filter[%s]', $this->getPropertyName());
37:     }
38: 
39:     /**
40:      * {@inheritDoc}
41:      */
42:     public function setPropertyName($propertyName)
43:     {
44:         $this->propertyName = $propertyName;
45:     }
46: 
47:     /**
48:      * {@inheritDoc}
49:      */
50:     public function getPropertyName()
51:     {
52:         return $this->propertyName;
53:     }
54: }
55: 
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0