isSideBlock; } public function setIsSideBlock($isSideBlock) { $this->isSideBlock = $isSideBlock; return $this; } public function initSideBlockResources() { $this->getDoc()->addScript('js/app/sideBlock.js'); $this->getDoc()->addInitObject('app.sideBlock.Form', [[ 'id' => $this->getId(), 'nodes' => [ 'formContainer' => '#' . $this->getId() . '-container', 'thanksContainer' => '#' . $this->getId() . '-thanks', ], ]]); return $this; } }