public function getLanguages($force = false)
    {
        if (!CNabuEngine::getEngine()->isOperationModeStandalone() &&
            ($this->languages_list->getSize() === 0 || $force)
        ) {
            $this->languages_list = CNabuIContactProspectStatusTypeLanguage::getLanguagesForTranslatedObject($this);
        }
        
        return $this->languages_list;
    }
public function getLanguages($force = false)
    {
        if (!CNabuEngine::getEngine()->isOperationModeStandalone() &&
            ($this->languages_list->getSize() === 0 || $force)
        ) {
            $this->languages_list = CNabuIContactProspectStatusTypeLanguage::getLanguagesForTranslatedObject($this);
        }
        
        return $this->languages_list;
    }
public function getLanguages ( $ force = false ) { if ( ! CNabuEngine :: getEngine ( ) -> isOperationModeStandalone ( ) && ( $ this -> languages_list -> getSize ( ) === 0 || $ force ) ) { $ this -> languages_list = CNabuIContactProspectStatusTypeLanguage :: getLanguagesForTranslatedObject ( $ this ) ; } return $ this -> languages_list ; }
Get all language instances corresponding to available translations.
@param bool $force If true force to reload languages list from storage.
@return null|array Return an array of \nabu\data\lang\CNabuLanguage instances if they have translations or null
if not.
Get all language instances corresponding to available translations .