Initial commit: is_searchbar out of the box. v3.0.1

This commit is contained in:
Isabelle Anno
2025-11-19 13:26:29 +01:00
committed by Isabelle
commit e9a487dd01
53 changed files with 7103 additions and 0 deletions

View File

@ -0,0 +1,32 @@
services:
_defaults:
public: true
oksydan.is_searchbar.module:
class: Is_searchbar
factory: [ 'Module', 'getInstanceByName' ]
public: false
arguments:
- 'is_searchbar'
oksydan.is_searchbar.hook.abstract_hook:
class: Oksydan\IsSearchbar\Hook\AbstractHook
public: true
arguments:
- '@oksydan.is_searchbar.module'
- "@=service('prestashop.adapter.legacy.context').getContext()"
oksydan.is_searchbar.hook.abstract_display_hook:
class: Oksydan\IsSearchbar\Hook\AbstractDisplayHook
parent: 'oksydan.is_searchbar.hook.abstract_hook'
public: true
oksydan.is_searchbar.hook.display_top:
class: Oksydan\IsSearchbar\Hook\DisplayTop
parent: 'oksydan.is_searchbar.hook.abstract_display_hook'
public: true
oksydan.is_searchbar.hook.display_search:
class: Oksydan\IsSearchbar\Hook\DisplaySearch
parent: 'oksydan.is_searchbar.hook.abstract_display_hook'
public: true

View File

@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@ -0,0 +1,2 @@
imports:
- { resource: ../common.yml }

View File

@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;