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

  • AbstractModel
  • DCGE
  • DefaultCollection
  • DefaultConfig
  • DefaultDataProvider
  • DefaultLanguageInformation
  • DefaultLanguageInformationCollection
  • DefaultModel
  • MultiLanguageDataProvider
  • NoOpDataProvider
  • PropertyValueBag
  • TableRowsAsRecordsDataProvider

Interfaces

  • CollectionInterface
  • ConfigInterface
  • DataProviderInterface
  • LanguageInformationCollectionInterface
  • LanguageInformationInterface
  • ModelInterface
  • MultiLanguageDataProviderInterface
  • PropertyValueBagInterface
  • VersionModelInterface
  • 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\Data;
14: 
15: /**
16:  * This interface describes
17:  *
18:  * @package DcGeneral\Data
19:  */
20: interface LanguageInformationInterface
21: {
22:     /**
23:      * Retrieve the ISO 639 language code.
24:      *
25:      * @return string
26:      */
27:     public function getLanguageCode();
28: 
29:     /**
30:      * Retrieve the ISO 3166 country code.
31:      *
32:      * @return string
33:      */
34:     public function getCountryCode();
35: 
36:     /**
37:      * Retrieve the RFC 3066 locale string.
38:      *
39:      * This string is combined as language-code + "_" + country-code.
40:      *
41:      * If no country code has been set, the language code only will get returned.
42:      *
43:      * @return mixed
44:      */
45:     public function getLocale();
46: }
47: 
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0