registry = Registry::getInstance(); } //Hook to extension edit in the admin public function onControllerPagesExtensionExtensions_UpdateData() { $that = $this->baseObject; $current_ext_id = $that->request->get['extension']; if ( IS_ADMIN && $current_ext_id == 'default_payza' && $this->baseObject_method == 'edit' ) { $html = ' '; $that->view->addHookVar('extension_toolbar_buttons', $html); } } }