public function setLanguage(CNabuLanguage $nb_language)
    {
        if ($nb_language->isValueNumeric(NABU_LANG_FIELD_ID) || $nb_language->isValueGUID(NABU_LANG_FIELD_ID)) {
            $nb_language_id = $nb_language->getValue(NABU_LANG_FIELD_ID);
            $this->languages_list->addItem($nb_language);
        }
    }
public function setLanguage(CNabuLanguage $nb_language)
    {
        if ($nb_language->isValueNumeric(NABU_LANG_FIELD_ID) || $nb_language->isValueGUID(NABU_LANG_FIELD_ID)) {
            $nb_language_id = $nb_language->getValue(NABU_LANG_FIELD_ID);
            $this->languages_list->addItem($nb_language);
        }
    }
public function setLanguage ( CNabuLanguage $ nb_language ) { if ( $ nb_language -> isValueNumeric ( NABU_LANG_FIELD_ID ) || $ nb_language -> isValueGUID ( NABU_LANG_FIELD_ID ) ) { $ nb_language_id = $ nb_language -> getValue ( NABU_LANG_FIELD_ID ) ; $ this -> languages_list -> addItem ( $ nb_language ) ; } }
Add or replace a language object passed as parameter in the languages collection of this entity
@param CNabuLanguage $nb_language A instance of a language entity to add in the list of allowed languages
Add or replace a language object passed as parameter in the languages collection of this entity