common/models/Preferences.php
/**
     * returns list of categories in array
     *
     * @return array
     */
returns list of categories in array
@return array
returns list of categories in array @return array
public static function categoriesLabels()
    {
        if (Yii::$app->params['self_hosted']) {
            return [
                self::CATEGORY_BASE      => 'Base',
                self::CATEGORY_RECAPTCHA => 'Recaptcha',
                self::CATEGORY_NODEAPI   => 'API',
            ];
        }
        return [
            self::CATEGORY_BASE      => 'Base',
            self::CATEGORY_RECAPTCHA => 'Recaptcha',
            self::CATEGORY_NODEAPI   => 'API',
            self::CATEGORY_PRICES    => 'Licenses',
            self::CATEGORY_SEO       => 'Seo',
            self::CATEGORY_OTHER     => 'Other',
        ];
    }
public static function categoriesLabels ( ) { if ( Yii :: $ app -> params [ 'self_hosted' ] ) { return [ self :: CATEGORY_BASE => 'Base' , self :: CATEGORY_RECAPTCHA => 'Recaptcha' , self :: CATEGORY_NODEAPI => 'API' , ] ; } return [ self :: CATEGORY_BASE => 'Base' , self :: CATEGORY_RECAPTCHA => 'Recaptcha' , self :: CATEGORY_NODEAPI => 'API' , self :: CATEGORY_PRICES => 'Licenses' , self :: CATEGORY_SEO => 'Seo' , self :: CATEGORY_OTHER => 'Other' , ] ; }
returns list of categories in array
 @return array
returns list of categories in array @return array
//self::CATEGORY_HIDDEN    => 'Hidden',