Ip\Internal\Pages\Helper::languageList PHP Метод

languageList() публичный статический Метод

public static languageList ( )
    public static function languageList()
    {
        $answer = array();
        $languages = ipContent()->getLanguages();
        foreach ($languages as $language) {
            $answer[] = array('id' => $language->getId(), 'title' => $language->getTitle(), 'abbreviation' => $language->getAbbreviation(), 'code' => $language->getCode());
        }
        return $answer;
    }