public function getTranslation($nb_language)
    {
        $retval = false;

        $nb_language_id = nb_getMixedValue($nb_language, NABU_LANG_FIELD_ID);
        if (is_numeric($nb_language_id) || nb_isValidGUID($nb_language_id)) {
            $this->getTranslations();
            if ($this->translations_list->containsKey($nb_language_id)) {
                $retval = $this->translations_list->getItem($nb_language_id);
            }
        }

        return $retval;
    }
public function getTranslation($nb_language)
    {
        $retval = false;

        $nb_language_id = nb_getMixedValue($nb_language, NABU_LANG_FIELD_ID);
        if (is_numeric($nb_language_id) || nb_isValidGUID($nb_language_id)) {
            $this->getTranslations();
            if ($this->translations_list->containsKey($nb_language_id)) {
                $retval = $this->translations_list->getItem($nb_language_id);
            }
        }

        return $retval;
    }
public function getTranslation ( $ nb_language ) { $ retval = false ; $ nb_language_id = nb_getMixedValue ( $ nb_language , NABU_LANG_FIELD_ID ) ; if ( is_numeric ( $ nb_language_id ) || nb_isValidGUID ( $ nb_language_id ) ) { $ this -> getTranslations ( ) ; if ( $ this -> translations_list -> containsKey ( $ nb_language_id ) ) { $ retval = $ this -> translations_list -> getItem ( $ nb_language_id ) ; } } return $ retval ; }
Get the translation child object that represents the translated fields of this entity
@param mixed $nb_language Object containing a valid language ID or and ID directly
@return array|null Returns a child object derivated from this entity that represents
the translation part of fields
Get the translation child object that represents the translated fields of this entity