diff --git a/Classes/Controller/ActionController.php b/Classes/Controller/ActionController.php index c9b74f0..10adf54 100644 --- a/Classes/Controller/ActionController.php +++ b/Classes/Controller/ActionController.php @@ -406,6 +406,19 @@ class ActionController extends BaseController return null; } + /** + * + */ + protected function getDomainModelString($object) + { + $extensionName = $this->request->getControllerExtensionName(); + $reflection = new \ReflectionClass($object); + return 'tx_' . + strtolower($this->request->getControllerExtensionName()) . + '_domain_model_' . + strtolower($reflection->getShortName()); + } + /** * gets error label based on field and keyword, uses predefined extensionkey */