private function getAvailableLanguages(IMetaModel $objMetaModel)
    {
        return ($objMetaModel->isTranslated() && $this->get('all_langs'))
            ? $objMetaModel->getAvailableLanguages()
            : array($objMetaModel->getActiveLanguage());
    }