classes/BearCMS/Internal/CurrentTheme.php
static public function getID(): string
    {
        if (!isset(self::$cache['id'])) {
            $cookies = Internal\Cookies::getList(Internal\Cookies::TYPE_SERVER);
            self::$cache['id'] = isset($cookies['tmpr']) ? $cookies['tmpr'] : Internal\Themes::getActiveThemeID();
        }
        return self::$cache['id'];
    }
static public function getID(): string
    {
        if (!isset(self::$cache['id'])) {
            $cookies = Internal\Cookies::getList(Internal\Cookies::TYPE_SERVER);
            self::$cache['id'] = isset($cookies['tmpr']) ? $cookies['tmpr'] : Internal\Themes::getActiveThemeID();
        }
        return self::$cache['id'];
    }
static public function getID ( ) : string { if ( ! isset ( self :: $ cache [ 'id' ] ) ) { $ cookies = Internal \ Cookies :: getList ( Internal \ Cookies :: TYPE_SERVER ) ; self :: $ cache [ 'id' ] = isset ( $ cookies [ 'tmpr' ] ) ? $ cookies [ 'tmpr' ] : Internal \ Themes :: getActiveThemeID ( ) ; } return self :: $ cache [ 'id' ] ; }
Returns the id of the current active theme or theme in preview

@return string The id of the current active theme or theme in preview
Returns the id of the current active theme or theme in preview