/** * @return {PjaxResponseNegotiator} * * @see LeftAndMain::getResponseNegotiator() */ public function getResponseNegotiator() { $neg = parent::getResponseNegotiator(); $controller = $this; $neg->setCallback('CurrentForm', function () use(&$controller) { return $controller->renderWith($controller->getTemplatesWithSuffix('_Content')); }); return $neg; }