MetaModels\Attribute\Base::setLanguageStrings PHP Méthode

setLanguageStrings() private méthode

Set the language strings.
private setLanguageStrings ( ) : void
Résultat void
    private function setLanguageStrings()
    {
        // Only overwrite the language if not already set.
        if (empty($GLOBALS['TL_LANG'][$this->getMetaModel()->getTableName()][$this->getColName()])) {
            $GLOBALS['TL_LANG'][$this->getMetaModel()->getTableName()][$this->getColName()] = array($this->getLangValue($this->get('name')), $this->getLangValue($this->get('description')));
        }
    }