Version: current

# Class ControllerRedirectExtension

Add extension that can be added to an object with `Object::add_extension()`. For `DataObject` extensions, use `DataObjectDecorator`. Each extension instance has an "owner" instance, accessible through `Extension::getOwner()`. Every object instance gets its own set of extension instances, meaning you can set parameters specific to the "owner instance" in new Extension instances.

  Extension
  ControllerRedirectExtension

Package: sapphire\core
Located at redirect/code/ControllerRedirectExtension.php

## Methods summary

`public` | # `updateAlternateURL( mixed & $alternateURL, mixed & $request )`

### Methods inherited from Extension

`__construct()`, `clearOwner()`, `getOwner()`, `get_classname_without_arguments()`, `setOwner()`

### Magic methods summary

## Properties summary

### Properties inherited from Extension

`$allowed_actions`, `$class`, `$owner`, `$ownerBaseClass`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -