Newscoop\Content\ContentTypeService::getOptions PHP Метод

getOptions() публичный Метод

Get options
public getOptions ( ) : array
Результат array
    public function getOptions()
    {
        $types = \ArticleType::GetArticleTypes($p_includeHidden = false);
        $options = array();
        foreach ($types as $type) {
            $options[$type] = $type;
        }
        return $options;
    }
ContentTypeService