Resource Description for Language

Properties for Language

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
code string
dataOrder int
iso6391Alpha2 string
iso6392Alpha3 string
iso6392Alpha3Terminology string
label string
parentCode string

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\Language;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$language = Language::retrieve(5433);

$code = $language->getCode();
$active = $language->getActive();
$dataOrder = $language->getDataOrder();
$label = $language->getLabel();
$iso6391Alpha2 = $language->getIso6391Alpha2();
$iso6392Alpha3 = $language->getIso6392Alpha3();
$iso6392Alpha3Terminology = $language->getIso6392Alpha3Terminology();
$parentCode = $language->getParentCode();