App\Model\Page::getControllerName
Returns the controller class name for this page type. If a matching subclass of PageController exists, use that. Otherwise default to the base namespaced controller.
This is required as SiteTree::getControllerName() doesn't traverse sideways across namespaces (i.e from \Model to \Control) when looking for a controller.
Signature
public function getControllerName()
Returns
- string