vendor/pimcore/advanced-object-search/src/AdvancedObjectSearchBundle.php line 21

Open in your IDE?
  1. <?php
  2. /**
  3.  * Pimcore
  4.  *
  5.  * This source file is available under two different licenses:
  6.  * - GNU General Public License version 3 (GPLv3)
  7.  * - Pimcore Commercial License (PCL)
  8.  * Full copyright and license information is available in
  9.  * LICENSE.md which is distributed with this source code.
  10.  *
  11.  *  @copyright  Copyright (c) Pimcore GmbH (http://www.pimcore.org)
  12.  *  @license    http://www.pimcore.org/license     GPLv3 and PCL
  13.  */
  14. namespace AdvancedObjectSearchBundle;
  15. use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
  16. use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
  17. class AdvancedObjectSearchBundle extends AbstractPimcoreBundle
  18. {
  19.     use PackageVersionTrait;
  20.     /**
  21.      * @inheritDoc
  22.      */
  23.     protected function getComposerPackageName(): string
  24.     {
  25.         return 'pimcore/advanced-object-search';
  26.     }
  27.     /**
  28.      * @inheritDoc
  29.      */
  30.     public function getCssPaths()
  31.     {
  32.         return [
  33.             '/bundles/advancedobjectsearch/css/admin.css'
  34.         ];
  35.     }
  36.     /**
  37.      * @inheritDoc
  38.      */
  39.     public function getJsPaths()
  40.     {
  41.         return [
  42.             '/bundles/advancedobjectsearch/js/startup.js',
  43.             '/bundles/advancedobjectsearch/js/selector.js',
  44.             '/bundles/advancedobjectsearch/js/helper.js',
  45.             '/bundles/advancedobjectsearch/js/searchConfigPanel.js',
  46.             '/bundles/advancedobjectsearch/js/searchConfig/conditionPanelContainerBuilder.js',
  47.             '/bundles/advancedobjectsearch/js/searchConfig/conditionPanel.js',
  48.             '/bundles/advancedobjectsearch/js/searchConfig/resultAbstractPanel.js',
  49.             '/bundles/advancedobjectsearch/js/searchConfig/resultPanel.js',
  50.             '/bundles/advancedobjectsearch/js/searchConfig/resultExtension.js',
  51.             '/bundles/advancedobjectsearch/js/searchConfig/conditionAbstractPanel.js',
  52.             '/bundles/advancedobjectsearch/js/searchConfig/conditionEntryPanel.js',
  53.             '/bundles/advancedobjectsearch/js/searchConfig/conditionGroupPanel.js',
  54.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/default.js',
  55.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/localizedfields.js',
  56.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/numeric.js',
  57.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/manyToManyOne.js',
  58.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/manyToManyObjectRelation.js',
  59.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/manyToManyRelation.js',
  60.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/fieldcollections.js',
  61.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/objectbricks.js',
  62.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/advancedManyToManyObjectRelation.js',
  63.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/advancedManyToManyRelation.js',
  64.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/checkbox.js',
  65.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/select.js',
  66.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/language.js',
  67.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/country.js',
  68.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/user.js',
  69.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/multiselect.js',
  70.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/countrymultiselect.js',
  71.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/languagemultiselect.js',
  72.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/datetime.js',
  73.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/date.js',
  74.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/time.js',
  75.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/quantityValue.js',
  76.             '/bundles/advancedobjectsearch/js/searchConfig/fieldConditionPanel/table.js',
  77.             '/bundles/advancedobjectsearch/js/portlet/advancedObjectSearch.js'
  78.         ];
  79.     }
  80.     /**
  81.      * @return Installer
  82.      */
  83.     public function getInstaller()
  84.     {
  85.         return $this->container->get(Installer::class);
  86.     }
  87. }