src/Rhyme/WMassArtsHub/Module/Profile/LeftColumnFilter.php line 35

Open in your IDE?
  1. <?php
  2. /**
  3.  * Copyright (C) 2020 Rhyme Digital, LLC.
  4.  *
  5.  * @link       https://rhyme.digital
  6.  * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
  7.  */
  8. namespace Rhyme\WMassArtsHub\Module\Profile;
  9. use Contao\System;
  10. use Contao\ModuleModel;
  11. use Contao\CoreBundle\Exception\AjaxRedirectResponseException;
  12. use Contao\CoreBundle\Exception\RedirectResponseException;
  13. use Haste\Http\Response\JsonResponse;
  14. /**
  15.  * Class LeftColumnFilter
  16.  * @package Rhyme\WMassArtsHub\Module
  17.  */
  18. class LeftColumnFilter extends AjaxFilter
  19. {
  20.     /**
  21.      * Template
  22.      * @var string
  23.      */
  24.     protected $strTemplate 'mod_artshub_profile_filter_leftCol';
  25.     /**
  26.      *
  27.      */
  28.     protected function compile()
  29.     {
  30.         parent::compile();
  31.         $GLOBALS['TL_JAVASCRIPT']['profileFilterModal'] = 'web/bundles/rhymewmassartshub/assets/js/frontend/profileFilter/modal.js|static';
  32.     }
  33. }