public function execute(\core\HTTPRequest $request) { $isIndex = $this->page->module() == 'customer' && $this->page->action() == 'index'; $this->page->addVar('isIndex', $isIndex); }