src/Ubiquity/themes/ThemesManager.php
public static function getAvailableThemes() {
		$path = \ROOT . \DS . 'views' . \DS . self::THEMES_FOLDER . \DS . '*';
		$dirs = \glob ( $path, GLOB_ONLYDIR | GLOB_NOSORT );
		$result = [ ];
		foreach ( $dirs as $dir ) {
			$result [] = basename ( $dir );
		}
		return $result;
	}
public static function getAvailableThemes() {
		$path = \ROOT . \DS . 'views' . \DS . self::THEMES_FOLDER . \DS . '*';
		$dirs = \glob ( $path, GLOB_ONLYDIR | GLOB_NOSORT );
		$result = [ ];
		foreach ( $dirs as $dir ) {
			$result [] = basename ( $dir );
		}
		return $result;
	}
public static function getAvailableThemes ( ) { $ path = \ ROOT . \ DS . 'views' . \ DS . self :: THEMES_FOLDER . \ DS . '*' ; $ dirs = \ glob ( $ path , GLOB_ONLYDIR | GLOB_NOSORT ) ; $ result = [ ] ; foreach ( $ dirs as $ dir ) { $ result [ ] = basename ( $ dir ) ; } return $ result ; }
Returns the names of available themes.

@return string[]
Returns the names of available themes .