Source of file OpenArticlesSortBy.php
Size: 3,362 Bytes - Last Modified: 2015-02-05T12:57:19+01:00
/www-data/git/ricardo/src/Diglin/Ricardo/Enums/Customer/OpenArticlesSortBy.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 | <?php /** * Diglin GmbH - Switzerland * * This file is part of a Diglin GmbH module. * * This Diglin GmbH module is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This script is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * @author Sylvain Rayé <support at diglin.com> * @category Diglin * @package Diglin_Ricardo * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com) * @license http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3) */ namespace Diglin\Ricardo\Enums\Customer; use Diglin\Ricardo\Enums\AbstractEnums; /** * Class OpenArticlesSortBy * @package Diglin\Ricardo\Enums\Customer */ class OpenArticlesSortBy extends AbstractEnums { const SORTBYARTICLEID = 1; // Sort by article Id = 1 const SORTBYTITLE = 2; // Sort by title = 2 const SORTBYINTERNALREFERENCE = 3; // Sort by internal reference = 3 const SORTBYQUANTITY = 4; // Sort by quantity = 4 const SORTBYVIEWCOUNT = 5; // Sort by number of views = 5 const SORTBYOBSERVERCOUNT = 6; // Sort by number of observers = 6 const SORTBYBIDCOUNT = 7; // Sort number of bids = 7 const SORTBYSTARTPRICE = 8; // Sort by start price = 8 const SORTBYBUYNOWPRICE = 9; // Sort by buy now price = 9 const SORTBYCURRENTPRICE = 11; // Sort by current price = 11 const SORTBYENDDATE = 12; // Sort by end date = 12 const SORTBYREPOSTCOUNT = 13; // Sort by number of reposts = 13 const SORTBYSTARTDATE = 14; // Sort by the start date = 14 const SORTBYCATEGORY = 15; // Sort by the category = 15 const SORTBYSHIPPINGFEES = 16; // Sort by the shipping fees = 16 /** * @return array */ public static function getEnums() { return array( array('label' => 'SORTBYARTICLEID', 'value' => self::SORTBYARTICLEID), array('label' => 'SORTBYTITLE', 'value' => self::SORTBYTITLE), array('label' => 'SORTBYINTERNALREFERENCE', 'value' => self::SORTBYINTERNALREFERENCE), array('label' => 'SORTBYQUANTITY', 'value' => self::SORTBYQUANTITY), array('label' => 'SORTBYVIEWCOUNT', 'value' => self::SORTBYVIEWCOUNT), array('label' => 'SORTBYOBSERVERCOUNT', 'value' => self::SORTBYOBSERVERCOUNT), array('label' => 'SORTBYBIDCOUNT', 'value' => self::SORTBYBIDCOUNT), array('label' => 'SORTBYSTARTPRICE', 'value' => self::SORTBYSTARTPRICE), array('label' => 'SORTBYBUYNOWPRICE', 'value' => self::SORTBYBUYNOWPRICE), array('label' => 'SORTBYCURRENTPRICE', 'value' => self::SORTBYCURRENTPRICE), array('label' => 'SORTBYENDDATE', 'value' => self::SORTBYENDDATE), array('label' => 'SORTBYREPOSTCOUNT', 'value' => self::SORTBYREPOSTCOUNT), array('label' => 'SORTBYSTARTDATE', 'value' => self::SORTBYSTARTDATE), array('label' => 'SORTBYCATEGORY', 'value' => self::SORTBYCATEGORY), array('label' => 'SORTBYSHIPPINGFEES', 'value' => self::SORTBYSHIPPINGFEES), ); } } |