silverstripe-cms/code/controllers/NestedController.php
2015-09-29 17:18:03 +13:00

14 lines
392 B
PHP

<?php
/**
* Interface that is implemented by controllers that are designed to hand control over to another controller.
* ModelAsController, which selects up a SiteTree object and passes control over to a suitable subclass of ContentController, is a good
* example of this.
* @package cms
* @subpackage control
*/
interface NestedController {
public function getNestedController();
}