PHP Class Swiftriver\Core\ObjectModel\LanguageSpecificText

Author: mg[at]swiftly[dot]org
Afficher le fichier Open project: ushahidi/Swiftriver-2011

Méthodes publiques

Свойство Type Description
$languageCode string The ISO 639-1 two letter language code ref: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
$text string[] A none-associative array of text in the language denoted by $languageCode
$title string The title in the language denoted by $languageCode

Méthodes publiques

Méthode Description
__construct ( string $languageCode, string $title, string[] $text ) Constructor for LanguageSpecificText objetc

Method Details

__construct() public méthode

Constructor for LanguageSpecificText objetc
public __construct ( string $languageCode, string $title, string[] $text )
$languageCode string the ISO 639-1 language code
$title string the title of the content
$text string[] the none-assositave array of the content text

Property Details

$languageCode public_oe property

The ISO 639-1 two letter language code ref: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
public string $languageCode
Résultat string

$text public_oe property

A none-associative array of text in the language denoted by $languageCode
public string[] $text
Résultat string[]

$title public_oe property

The title in the language denoted by $languageCode
public string $title
Résultat string