Class luya\web\jsonld\LanguageValue

Inheritanceluya\web\jsonld\LanguageValue » luya\web\jsonld\BaseValue
Available since version1.0.14
Source Code https://github.com/luyadev/luya/blob/master/core/web/jsonld/LanguageValue.php

Method Details

Hide inherited methods

__construct() public method

public void __construct ( $langauge )
$langauge

                public function __construct($langauge)
{
    $this->_language = $langauge;
}

            
getValue() public method

public void getValue ( )

                public function getValue()
{
    // RFC VALIDATION
    return $this->_language;
}