コード例 #1
0
ファイル: Version.php プロジェクト: robbrandt/Content
 protected function setupHookBundles()
 {
     // Register ui hooks for html contenttype. This enables Scribite 5 connection
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.ui_hooks.htmlcontenttype', 'ui_hooks', $this->__('HTML ContentType Hook'));
     $bundle->addEvent('display_view', 'content.ui_hooks.htmlcontenttype.display_view');
     $bundle->addEvent('form_edit', 'content.ui_hooks.htmlcontenttype.form_edit');
     $bundle->addEvent('form_delete', 'content.ui_hooks.htmlcontenttype.form_delete');
     $bundle->addEvent('validate_edit', 'content.ui_hooks.htmlcontenttype.validate_edit');
     $bundle->addEvent('validate_delete', 'content.ui_hooks.htmlcontenttype.validate_delete');
     $bundle->addEvent('process_edit', 'content.ui_hooks.htmlcontenttype.process_edit');
     $bundle->addEvent('process_delete', 'content.ui_hooks.htmlcontenttype.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     // Register ui hooks for pages
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.ui_hooks.pages', 'ui_hooks', $this->__('Content Full Page Hook'));
     $bundle->addEvent('display_view', 'content.ui_hooks.pages.display_view');
     $bundle->addEvent('form_edit', 'content.ui_hooks.pages.form_edit');
     $bundle->addEvent('form_delete', 'content.ui_hooks.pages.form_delete');
     $bundle->addEvent('validate_edit', 'content.ui_hooks.pages.validate_edit');
     $bundle->addEvent('validate_delete', 'content.ui_hooks.pages.validate_delete');
     $bundle->addEvent('process_edit', 'content.ui_hooks.pages.process_edit');
     $bundle->addEvent('process_delete', 'content.ui_hooks.pages.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     // Register the filter hooks
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.filter_hooks.htmlcontenttype', 'filter_hooks', $this->__('HTML ContentType Filter Hook'));
     $bundle->addEvent('filter', 'content.filter_hooks.htmlcontenttype.filter');
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #2
0
ファイル: Version.php プロジェクト: projectesIF/Sirius
 /**
  * Set up hook subscriber bundle
  *
  * This area is only activated when editing an Html Block.
  * There are no other hook functions currently implemented since linking
  * back (via url) to a block is impossible.
  */
 protected function setupHookBundles()
 {
     // Register ui hooks for html contenttype. This enables Scribite 5 connection
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.blocks.ui_hooks.htmlblock.content', 'ui_hooks', $this->__('HTML Block content hook'));
     $bundle->addEvent('form_edit', 'blocks.ui_hooks.htmlblock.content.form_edit');
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #3
0
ファイル: Version.php プロジェクト: nmpetkov/ZphpBB2
 protected function setupHookBundles()
 {
     // Register hooks
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.zphpbb2.ui_hooks.items', 'ui_hooks', $this->__('ZphpBB2 Items Hooks'));
     $bundle->addEvent('display_view', 'zphpbb2.ui_hooks.items.display_view');
     $bundle->addEvent('form_edit', 'zphpbb2.ui_hooks.items.form_edit');
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #4
0
ファイル: Version.php プロジェクト: nmpetkov/Ephemerides
 protected function setupHookBundles()
 {
     // Register hooks
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.ephemerides.ui_hooks.items', 'ui_hooks', $this->__('Ephemerides Items Hooks'));
     $bundle->addEvent('display_view', 'ephemerides.ui_hooks.items.display_view');
     $bundle->addEvent('form_edit', 'ephemerides.ui_hooks.items.form_edit');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_ProviderBundle($this->name, 'provider.ephemerides.ui_hooks.ephemeride', 'ui_hooks', $this->__('Ephemerides Item'));
     $bundle->addServiceHandler('display_view', 'Ephemerides_HookHandlers', 'uiView', 'ephemerides.ephemeride');
     $this->registerHookProviderBundle($bundle);
 }
コード例 #5
0
ファイル: Version.php プロジェクト: projectesIF/Sirius
    /**
     * Define the hook bundles supported by this module.
     *
     * @return void
     */
    protected function setupHookBundles()
    {
        $bundle = new Zikula_HookManager_SubscriberBundle(
            $this->name, 'subscriber.Cataleg.ui_hooks.Cataleg',
            'ui_hooks',
            $this->__('Cataleg Hooks')
        );
        
        $bundle->addEvent('form_edit', 'Cataleg.ui_hooks.Cataleg.form_edit');

        $this->registerHookSubscriberBundle($bundle);
    }
コード例 #6
0
ファイル: Version.php プロジェクト: projectesIF/Sirius
    /**
     * Define the hook bundles supported by this module.
     *
     * @return void
     */
    protected function setupHookBundles()
    {
        $bundle = new Zikula_HookManager_SubscriberBundle(
            $this->name, 'subscriber.iwmessages.ui_hooks.iwmessages',
            'ui_hooks',
            $this->__('IWmessages Hooks')
        );
        
        $bundle->addEvent('form_edit', 'iwmessages.ui_hooks.iwmessages.form_edit');

        $this->registerHookSubscriberBundle($bundle);
    }
コード例 #7
0
ファイル: Version.php プロジェクト: projectesIF/Sirius
    protected function setupHookBundles()
    {
        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.news.ui_hooks.articles', 'ui_hooks', $this->__('News Articles Hooks'));
        $bundle->addEvent('display_view', 'news.ui_hooks.articles.display_view');
        $bundle->addEvent('form_edit', 'news.ui_hooks.articles.form_edit');
        $bundle->addEvent('form_delete', 'news.ui_hooks.articles.form_delete');
        $bundle->addEvent('validate_edit', 'news.ui_hooks.articles.validate_edit');
        $bundle->addEvent('validate_delete', 'news.ui_hooks.articles.validate_delete');
        $bundle->addEvent('process_edit', 'news.ui_hooks.articles.process_edit');
        $bundle->addEvent('process_delete', 'news.ui_hooks.articles.process_delete');
        $this->registerHookSubscriberBundle($bundle);

        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.news.filter_hooks.articles', 'filter_hooks', $this->__('News Display Hooks'));
        $bundle->addEvent('filter', 'news.filter_hooks.articles.filter');
        $this->registerHookSubscriberBundle($bundle);
    }
コード例 #8
0
ファイル: Version.php プロジェクト: rmaiwald/EZComments
 protected function setupHookBundles()
 {
     $bundle = new Zikula_HookManager_ProviderBundle($this->name, 'provider.ezcomments.ui_hooks.comments', 'ui_hooks', $this->__('EZComments Comment Hooks'));
     $bundle->addServiceHandler('display_view', 'EZComments_HookHandlers', 'uiView', 'ezcomments.hooks.comments');
     $bundle->addServiceHandler('process_edit', 'EZComments_HookHandlers', 'processEdit', 'ezcomments.hooks.comments');
     $bundle->addServiceHandler('process_delete', 'EZComments_HookHandlers', 'processDelete', 'ezcomments.hooks.comments');
     $this->registerHookProviderBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.ezcomments.ui_hooks.comments', 'ui_hooks', $this->__('EZComments Comment Hooks'));
     $bundle->addEvent('display_view', 'ezcomments.ui_hooks.comments.display_view');
     $bundle->addEvent('form_edit', 'ezcomments.ui_hooks.comments.form_edit');
     $bundle->addEvent('form_delete', 'ezcomments.ui_hooks.comments.form_delete');
     $bundle->addEvent('validate_edit', 'ezcomments.ui_hooks.comments.validate_edit');
     $bundle->addEvent('validate_delete', 'ezcomments.ui_hooks.comments.validate_delete');
     $bundle->addEvent('process_edit', 'ezcomments.ui_hooks.comments.process_edit');
     $bundle->addEvent('process_delete', 'ezcomments.ui_hooks.comments.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.ezcomments.filter_hooks.comments', 'filter_hooks', $this->__('EZComment Comments Filter'));
     $bundle->addEvent('filter', 'ezcomments.filter_hooks.comments.filter');
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #9
0
ファイル: Version.php プロジェクト: rmaiwald/Reviews
 /**
  * Define hook subscriber bundles.
  */
 protected function setupHookBundles()
 {
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.reviews.ui_hooks.reviews', 'ui_hooks', __('reviews Reviews Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'reviews.ui_hooks.reviews.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'reviews.ui_hooks.reviews.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'reviews.ui_hooks.reviews.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'reviews.ui_hooks.reviews.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'reviews.ui_hooks.reviews.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'reviews.ui_hooks.reviews.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'reviews.ui_hooks.reviews.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.reviews.filter_hooks.reviews', 'filter_hooks', __('reviews Reviews Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'reviews.filter_hooks.reviews.filter');
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #10
0
 private function createSubscriberFilterHook($name, $title)
 {
     $bundle = new \Zikula_HookManager_SubscriberBundle($this->name, "subscriber.cmfcmfmediamodule.filter_hooks.{$name}", "filter_hooks", $this->__f("%s display hooks", [$title]));
     $bundle->addEvent('filter', "cmfcmfmediamodule.filter_hooks.{$name}.filter");
     $this->registerHookSubscriberBundle($bundle);
 }
コード例 #11
0
 /**
  * Unregister a subscriber bundle from persistence.
  *
  * @param Zikula_HookManager_SubscriberBundle $bundle
  */
 public function unregisterSubscriberBundle(Zikula_HookManager_SubscriberBundle $bundle)
 {
     $this->storage->unregisterSubscriberByArea($bundle->getArea());
     $this->reload();
 }
コード例 #12
0
 /**
  * Register a hook subscriber bundle.
  *
  * @param Zikula_HookManager_SubscriberBundle $bundle HookBundle.
  *
  * @return Zikula_AbstractVersion
  */
 public function registerHookSubscriberBundle(Zikula_HookManager_SubscriberBundle $bundle)
 {
     if (array_key_exists($bundle->getArea(), $this->hookSubscriberBundles)) {
         throw new InvalidArgumentException(sprintf('Area %s is already registered', $bundle->getArea()));
     }
     $this->hookSubscriberBundles[$bundle->getArea()] = $bundle;
     return $this;
 }
コード例 #13
0
ファイル: Installer.php プロジェクト: robbrandt/Content
 protected function contentUpgrade_4_1_0($oldVersion)
 {
     // re-install hooks
     // all hooks that are available in 4.1.0 need to be unregistrered, otherwise re-registration will occur
     // unregister ui_hooks.pages
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.ui_hooks.pages', 'ui_hooks', $this->__('Content Display Hooks'));
     $bundle->addEvent('display_view', 'content.ui_hooks.pages.display_view');
     $bundle->addEvent('form_edit', 'content.ui_hooks.pages.form_edit');
     $bundle->addEvent('form_delete', 'content.ui_hooks.pages.form_delete');
     $bundle->addEvent('validate_edit', 'content.ui_hooks.pages.validate_edit');
     $bundle->addEvent('validate_delete', 'content.ui_hooks.pages.validate_delete');
     $bundle->addEvent('process_edit', 'content.ui_hooks.pages.process_edit');
     $bundle->addEvent('process_delete', 'content.ui_hooks.pages.process_delete');
     $oldBundles['subscriber.content.ui_hooks.pages'] = $bundle;
     // unregister filter_hooks.pages
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.filter_hooks.pages', 'filter_hooks', $this->__('Content Filter Hooks'));
     $bundle->addEvent('filter', 'content.filter_hooks.pages.filter');
     $oldBundles['subscriber.content.filter_hooks.pages'] = $bundle;
     // unregister ui hooks for html contenttype
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.ui_hooks.htmlcontenttype', 'ui_hooks', $this->__('HTML ContentType Hook'));
     $bundle->addEvent('display_view', 'content.ui_hooks.htmlcontenttype.display_view');
     $bundle->addEvent('form_edit', 'content.ui_hooks.htmlcontenttype.form_edit');
     $bundle->addEvent('form_delete', 'content.ui_hooks.htmlcontenttype.form_delete');
     $bundle->addEvent('validate_edit', 'content.ui_hooks.htmlcontenttype.validate_edit');
     $bundle->addEvent('validate_delete', 'content.ui_hooks.htmlcontenttype.validate_delete');
     $bundle->addEvent('process_edit', 'content.ui_hooks.htmlcontenttype.process_edit');
     $bundle->addEvent('process_delete', 'content.ui_hooks.htmlcontenttype.process_delete');
     $oldBundles['subscriber.content.ui_hooks.htmlcontenttype'] = $bundle;
     // unregister the filter_hooks.htmlcontenttype
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.content.filter_hooks.htmlcontenttype', 'filter_hooks', $this->__('HTML ContentType Filter Hook'));
     $bundle->addEvent('filter', 'content.filter_hooks.htmlcontenttype.filter');
     $oldBundles['subscriber.content.filter_hooks.htmlcontenttype'] = $bundle;
     HookUtil::unregisterSubscriberBundles($oldBundles);
     // Re-register hooks
     HookUtil::registerSubscriberBundles($this->version->getHookSubscriberBundles());
     LogUtil::registerStatus($this->__('All old hooks have been unregistered and new available hooks are now registrered.'));
     // add new variable(s)
     $this->setVar('pageinfoLocation', 'top');
     $this->setVar('overrideTitle', true);
     return true;
 }
コード例 #14
0
ファイル: Version.php プロジェクト: projectesIF/Sirius
    /**
     * Define the hook bundles supported by this module.
     *
     * @return void
     */
    protected function setupHookBundles()
    {
        // Subscriber bundles

        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.users.ui_hooks.user', 'ui_hooks', $this->__('User management hooks'));
        $bundle->addEvent('display_view',    'users.ui_hooks.user.display_view');

        $bundle->addEvent('form_edit',       'users.ui_hooks.user.form_edit');
        $bundle->addEvent('validate_edit',   'users.ui_hooks.user.validate_edit');
        $bundle->addEvent('process_edit',    'users.ui_hooks.user.process_edit');

        $bundle->addEvent('form_delete',     'users.ui_hooks.user.form_delete');
        $bundle->addEvent('validate_delete', 'users.ui_hooks.user.validate_delete');
        $bundle->addEvent('process_delete',  'users.ui_hooks.user.process_delete');
        $this->registerHookSubscriberBundle($bundle);

        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.users.ui_hooks.registration', 'ui_hooks', $this->__('Registration management hooks'));
        $bundle->addEvent('display_view',    'users.ui_hooks.registration.display_view');

        $bundle->addEvent('form_edit',       'users.ui_hooks.registration.form_edit');
        $bundle->addEvent('validate_edit',   'users.ui_hooks.registration.validate_edit');
        $bundle->addEvent('process_edit',    'users.ui_hooks.registration.process_edit');

        $bundle->addEvent('form_delete',     'users.ui_hooks.registration.form_delete');
        $bundle->addEvent('validate_delete', 'users.ui_hooks.registration.validate_delete');
        $bundle->addEvent('process_delete',  'users.ui_hooks.registration.process_delete');
        $this->registerHookSubscriberBundle($bundle);

        // Bundle for the login form
        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.users.ui_hooks.login_screen', 'ui_hooks', $this->__('Login form and block hooks'));
        $bundle->addEvent('form_edit',     'users.ui_hooks.login_screen.form_edit');
        $bundle->addEvent('validate_edit', 'users.ui_hooks.login_screen.validate_edit');
        $bundle->addEvent('process_edit',  'users.ui_hooks.login_screen.process_edit');
        $this->registerHookSubscriberBundle($bundle);

        // Bundle for the login block
        $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.users.ui_hooks.login_block', 'ui_hooks', $this->__('Login form and block hooks'));
        $bundle->addEvent('form_edit',     'users.ui_hooks.login_block.form_edit');
        $bundle->addEvent('validate_edit', 'users.ui_hooks.login_block.validate_edit');
        $bundle->addEvent('process_edit',  'users.ui_hooks.login_block.process_edit');
        $this->registerHookSubscriberBundle($bundle);
    }
コード例 #15
0
ファイル: Version.php プロジェクト: rmaiwald/MUBoard
 /**
  * Define hook subscriber bundles.
  */
 protected function setupHookBundles()
 {
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.categories', 'ui_hooks', __('muboard Categories Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.categories.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.categories.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.categories.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.categories.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.categories.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.categories.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.categories.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.categories', 'filter_hooks', __('muboard Categories Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.categories.filter');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.forums', 'ui_hooks', __('muboard Forums Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.forums.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.forums.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.forums.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.forums.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.forums.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.forums.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.forums.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.forums', 'filter_hooks', __('muboard Forums Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.forums.filter');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.postings', 'ui_hooks', __('muboard Postings Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.postings.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.postings.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.postings.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.postings.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.postings.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.postings.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.postings.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.postings', 'filter_hooks', __('muboard Postings Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.postings.filter');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.abos', 'ui_hooks', __('muboard Abos Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.abos.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.abos.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.abos.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.abos.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.abos.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.abos.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.abos.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.abos', 'filter_hooks', __('muboard Abos Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.abos.filter');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.users', 'ui_hooks', __('muboard Users Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.users.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.users.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.users.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.users.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.users.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.users.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.users.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.users', 'filter_hooks', __('muboard Users Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.users.filter');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.ui_hooks.ranks', 'ui_hooks', __('muboard Ranks Display Hooks'));
     // Display hook for view/display templates.
     $bundle->addEvent('display_view', 'muboard.ui_hooks.ranks.display_view');
     // Display hook for create/edit forms.
     $bundle->addEvent('form_edit', 'muboard.ui_hooks.ranks.form_edit');
     // Display hook for delete dialogues.
     $bundle->addEvent('form_delete', 'muboard.ui_hooks.ranks.form_delete');
     // Validate input from an ui create/edit form.
     $bundle->addEvent('validate_edit', 'muboard.ui_hooks.ranks.validate_edit');
     // Validate input from an ui create/edit form (generally not used).
     $bundle->addEvent('validate_delete', 'muboard.ui_hooks.ranks.validate_delete');
     // Perform the final update actions for a ui create/edit form.
     $bundle->addEvent('process_edit', 'muboard.ui_hooks.ranks.process_edit');
     // Perform the final delete actions for a ui form.
     $bundle->addEvent('process_delete', 'muboard.ui_hooks.ranks.process_delete');
     $this->registerHookSubscriberBundle($bundle);
     $bundle = new Zikula_HookManager_SubscriberBundle($this->name, 'subscriber.muboard.filter_hooks.ranks', 'filter_hooks', __('muboard Ranks Filter Hooks'));
     // A filter applied to the given area.
     $bundle->addEvent('filter', 'muboard.filter_hooks.ranks.filter');
     $this->registerHookSubscriberBundle($bundle);
 }