protected function _deriveViewVar()
{
if ($this->scope() === 'table') {
return Inflector::variable($this->_controller()->name);
}
if ($this->scope() === 'entity') {
return Inflector::variable(Inflector::singularize($this->_controller()->name));
}
throw new Exception('Unknown action scope: ' . $this->scope());
}