SilverStripe\CMS\Controllers\RootURLController

Synopsis

class RootURLController extends Controller implements Resettable {
}

Hierarchy

Extends

  • SilverStripe\Control\Controller

Implements

  • SilverStripe\Core\Resettable

Members

private

protected

Methods

protected

public

  • handleRequest()
  • reset() — Resets the cached homepage link value - useful for testing.
  • should_be_on_root() — Returns TRUE if a request to a certain page should be redirected to the site root (i.e. if the page acts as the home page).