ILanguageIterator
extends
Iterator
in
Interface ILanguageIterator
iterator across language settings (if provided) in this order:
- returns the forced language or:
- if applicable, the trunk of 1 (e.g. "fu" instead of "fu_BAR"
- returns the user language or:
- if applicable, the trunk of 3
- returns the system default language or:
- if applicable, the trunk of 5 7+∞. returns 'en'
if settings are not present or truncating is not applicable, the iterator skips to the next valid item itself
Tags
Table of Contents
Methods
- current() : string
- Return the current element
- key() : int
- Return the key of the current element
- next() : void
- Move forward to next element
- valid() : bool
- Checks if current position is valid
Methods
current()
Return the current element
public
current() : string
Tags
Return values
stringkey()
Return the key of the current element
public
key() : int
Tags
Return values
intnext()
Move forward to next element
public
next() : void
Tags
Attributes
- #[ReturnTypeWillChange]
valid()
Checks if current position is valid
public
valid() : bool