Returns a list of frankenstyle component names.

E.g.
[
'core_course',
'core_message',
'mod_assign',
...
]
@return array the list of frankenstyle component names.
516222
public static function get_component_names() : array {
        $componentnames = [];
        // Get all plugins.
        foreach (self::get_plugin_types() as $plugintype => $typedir) {
            foreach (self::get_plugin_list($plugintype) as $pluginname => $plugindir) {
                $componentnames[] = $plugintype . '_' . $pluginname;
            }
        }
        // Get all subsystems.
        foreach (self::get_core_subsystems() as $subsystemname => $subsystempath) {
            $componentnames[] = 'core_' . $subsystemname;
        }
        return $componentnames;
    }
347349
public function getComponents()
    {
        if ($this->_components === null) {
            $this->_components = [];
            if ($config = $this->readConfig()) {
                foreach ($this->files as $current) {
                    if (isset($config[$current]['components'])) {
                        /** @var mixed[] $components */
                        $components = $config[$current]['components'];
                        if (is_array($components)) {
                            foreach ($components as $name => $component) {
                                if (($class = $this->findClass($component)) !== false) {
                                    $this->_components[$name][$class] = $class;
                                }
                            }
                        }
                    }
                }
            }
        }
        return $this->_components;
    }
318164
public function getBehaviorLabels()
    {
        $labels = [];
        foreach ($this->_behaviors as $name => $foo) {
            if (($behavior = $this->getBehavior($name)) instanceof \nineinchnick\usr\components\FormModelBehavior) {
                $labels = array_merge($labels, $behavior->attributeLabels());
            }
        }

        return $labels;
    }
642722
public function getDisplayNameVariants(): array
    {
        $array[] = $this->user->username;
        if ($this->full_name !== null) {
            $full_name = new UserMetaFullName($this->full_name);
            if ($full_name->surname !== '' && $full_name->name !== ''){
                $array[] = $full_name->surname . ' ' . $full_name->name;
            }
            if ($full_name->name !== '' && $full_name->name !== null){
                $array[] = $full_name->name;
            }
        }
        return $array;
    }
921141
public function attributes()
    {
        $className = get_class($this);
        if (!isset(self::$_names[$className])) {
            $class = new \ReflectionClass(get_class($this));
            $names = [];
            foreach ($class->getProperties() as $property) {
                $name = $property->getName();
                if ($property->isPublic() && !$property->isStatic()) {
                    $names[] = $name;
                }
            }
            foreach ($this->_behaviors as $name => $name) {
                if (($behavior = $this->getBehavior($name)) instanceof \nineinchnick\usr\components\FormModelBehavior) {
                    $names = array_merge($names, $behavior->attributes());
                }
            }

            return self::$_names[$className] = $names;
        } else {
            return self::$_names[$className];
        }
    }
540971
protected function getCSSClassNames()
    {
        $classes = array();

        if (!$this->isSensitive()) {
            $classes[] = 'swat-insensitive';
        }

        $classes = array_merge($classes, parent::getCSSClassNames());

        return $classes;
    }
806578
public String[] getCustomTypes() {
        String[] customTypes = new String[this.customTypes.size()];
        for (int i = 0; i < this.customTypes.size(); i++) {
            CustomType customType = this.customTypes.get(i);
            customTypes[i] = customType.getClassName();
        }
        return customTypes;
    }
1055716
protected function get_component_list() {
        $components = array_keys(array_reduce(\core_component::get_component_list(), function($carry, $item) {
            return array_merge($carry, $item);
        }, []));
        $components[] = 'core';

        return $components;
    }
1152689
public function getComponents()
    {
        $components = [];

        foreach ($this->indexReverse[self::COMPONENT] as $index) {
            $components[] = $this->getChild($index);
        }

        return $components;
    }
317156
public function getActiveThemesList()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();

        $activeThemeList = [];
        if (!$this->isAdmin()) {
            $activeThemeList[] = $config->getConfigParam('sTheme');

            if ($customThemeId = $config->getConfigParam('sCustomTheme')) {
                $activeThemeList[] = $customThemeId;
            }
        }

        return $activeThemeList;
    }
1229741
protected function getPlainLabels()
    {
        $labels = [];

        foreach (Config::getCustomModelTemplates() as $key => $properties) {
            $label = $this->makeModelLabel($key, $properties, true, $this->defaultLang);
            $labels[$this->defaultLang][] = $label;
        }

        return $labels;
    }
102871
public static function load_default_models_for_all_components(): array {

        $tmp = [];

        foreach (\core_component::get_component_list() as $type => $components) {
            foreach (array_keys($components) as $component) {
                if ($loaded = static::load_default_models_for_component($component)) {
                    $tmp[$type][$component] = $loaded;
                }
            }
        }

        $result = [];

        if ($loaded = static::load_default_models_for_component('core')) {
            $result['core'] = $loaded;
        }

        if (!empty($tmp['core'])) {
            $result += $tmp['core'];
            unset($tmp['core']);
        }

        foreach ($tmp as $components) {
            $result += $components;
        }

        return $result;
    }
397530
public function getNames(): array
    {
        $enumeration = $this->enumeration;
        $names       = [];
        foreach ($this->getOrdinals() as $ord) {
            $names[] = $enumeration::byOrdinal($ord)->getName();
        }
        return $names;
    }
1362890
protected function _getComponentNames()
    {
        if (self::$_aCollectedComponentNames === null) {
            self::$_aCollectedComponentNames = array_merge($this->_aComponentNames, $this->_aUserComponentNames);

            if (($userComponentNames = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aUserComponentNames'))) {
                self::$_aCollectedComponentNames = array_merge(self::$_aCollectedComponentNames, $userComponentNames);
            }

            if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('_force_no_basket_cmp')) {
                unset(self::$_aCollectedComponentNames['oxcmp_basket']);
            }
        }

        // resetting array pointer
        reset(self::$_aCollectedComponentNames);

        return self::$_aCollectedComponentNames;
    }
1026210
protected function getComponents()
    {
        if ($this->_components === null) {
            if ($this->_string === null) {
                return [];
            }
            $this->_components = $this->parseUri($this->_string);
        }
        return $this->_components;
    }
1331198
private function get_defaults()
    {
        $defaults = array();
        
        foreach( $this->component_list->get_value_components() as $component )
        {
            $defaults[$component->name] = $component->default;
        }
        
        return $defaults;
    }
1242794
protected function get_components() {
		$components = ( new \ReflectionClass( $this ) )->getProperties();
		$components = array_map(
		/**
		 * @param \ReflectionProperty $property
		 *
		 * @return string
		 */
			function ( $property ) {
				return $property->name;
			}, $components );
		$components = array_filter( $components, [ $this, 'is_component' ] );
		$components = array_map(
		/**
		 * @param \ReflectionProperty $component
		 *
		 * @return Component
		 */
			function ( $component ) {
				$getter = "get_{$component}";

				return $this->$getter();
			}, $components );

		return $components;
	}