Version: current

# Class LeftAndMainSubsites

Decorator designed to add subsites support to LeftAndMain

  Extension
  LeftAndMainSubsites

Package: subsites
Located at subsites/code/LeftAndMainSubsites.php

## Methods summary

`public` | # `augmentInit( )`
`public` | # `getCMSTreeTitle( )` Set the title of the CMS tree Set the title of the CMS tree
`public` | # `updatePageOptions( mixed & $fields )`
`public` | # `changesubsite( )`
`public` | # `Subsites( )`
`public` | # `SubsiteList( )`
`public` | # `CanAddSubsites( )`
`public` | # `alternateAccessCheck( )` Alternative security checker for LeftAndMain. If security isn't found, then it will switch to a subsite where we do have access. Alternative security checker for LeftAndMain. If security isn't found, then it will switch to a subsite where we do have access.
`public` | # `augmentNewSiteTreeItem( mixed & $item )`
`public` | # `onAfterSave( mixed $record )`

### Methods inherited from Extension

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

### Magic methods summary

## Properties summary

`public static array` | $allowed_actions | # This is used by extensions designed to be applied to controllers. It works the same way as `Controller::$allowed_actions`. This is used by extensions designed to be applied to controllers. It works the same way as `Controller::$allowed_actions`.

### Properties inherited from Extension

`$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. -