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

Class DefaultLanguageInformationCollection

This class is the base implementation for LanguageInformationCollectionInterface.

DcGeneral\Data\DefaultLanguageInformationCollection implements DcGeneral\Data\LanguageInformationCollectionInterface
Namespace: DcGeneral\Data
Package: DcGeneral\Data
Located at Data/DefaultLanguageInformationCollection.php
Methods summary
public DcGeneral\Data\LanguageInformationCollectionInterface
# add( DcGeneral\Data\LanguageInformationInterface $language )

Append a language to this collection.

Append a language to this collection.

Parameters

$language
DcGeneral\Data\LanguageInformationInterface
$language The language information to add.

Returns

DcGeneral\Data\LanguageInformationCollectionInterface

Implementation of

DcGeneral\Data\LanguageInformationCollectionInterface::add()
public IteratorAggregate
# getIterator( )

Get a iterator for this collection.

Get a iterator for this collection.

Returns

IteratorAggregate
public integer
# count( )

Count the contained language information.

Count the contained language information.

Returns

integer
Properties summary
protected DcGeneral\Data\LanguageInformationInterface[] $languages array()
#

The language information stored in this collection.

The language information stored in this collection.

contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0