phpDocumentor

OptionTitles extends TitleCollection

Class representing a collection of titles for an option.

Table of Contents

ENGLISH_LANGUAGE_CODE  = "en"
English language code.
GERMAN_LANGUAGE_CODE  = "de"
German language code.
$values  : array<string|int, WithLanguageCode>
Values.
create()  : OptionTitles
Create instance.
getByLanguageCode()  : WithLanguageCode
Return item by language code.
getIterator()  : ArrayIterator
__construct()  : mixed
Constructor.

Constants

ENGLISH_LANGUAGE_CODE

English language code.

private mixed ENGLISH_LANGUAGE_CODE = "en"

GERMAN_LANGUAGE_CODE

German language code.

private mixed GERMAN_LANGUAGE_CODE = "de"

Properties

Methods

getByLanguageCode()

Return item by language code.

public getByLanguageCode(string $languageCode) : WithLanguageCode
Parameters
$languageCode : string

Language code.

Return values
WithLanguageCode

Item with provided language code.

getIterator()

public getIterator() : ArrayIterator
Tags
inheritDoc
Return values
ArrayIterator

Search results