SilverStripe\Subsites\Middleware\InitStateMiddleware

Synopsis

class InitStateMiddleware implements HTTPMiddleware {
}

Hierarchy

Uses

  • SilverStripe\Core\Config\Configurable

Implements

  • SilverStripe\Control\Middleware\HTTPMiddleware

Members

private

  • $admin_url_paths — array
    URL paths that should be considered as admin only, i.e. not frontend

Methods

protected

public

  • getIsAdmin() — Determine whether the website is being viewed from an admin protected area or not
  • process()