Skip to content

Commit

Permalink
Merge pull request #2 from paramako/paramako-patch-1
Browse files Browse the repository at this point in the history
Update AbstractResource.php
  • Loading branch information
paramako authored Oct 14, 2021
2 parents 4a938c5 + 2231ce6 commit 22cb71d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/Resources/AbstractResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@
*/
abstract class AbstractResource
{
protected const PARAM_ORDERING_NEWEST = 'newest';
protected const PARAM_ORDERING_MOSTVIEWED = 'mostviewed';
protected const PARAM_ORDERING_RATING = 'rating';

protected const PARAM_PERIOD_WEEKLY = 'weekly';
protected const PARAM_PERIOD_MONTHLY = 'monthly';
protected const PARAM_PERIOD_ALLTIME = 'alltime';

protected const PARAM_THUMBSIZE_SMALL = 'small';
protected const PARAM_THUMBSIZE_MEDIUM = 'medium';
protected const PARAM_THUMBSIZE_LARGE = 'large';
protected const PARAM_THUMBSIZE_SMALLHD = 'small_hd';
protected const PARAM_THUMBSIZE_MEDIUMHD = 'medium_hd';
protected const PARAM_THUMBSIZE_LARGEHD = 'large_hd';

protected const PARAM_PAGE_DEFAULT = 1;
protected const PARAM_STARS_DEFAULT = [];
protected const PARAM_TAGS_DEFAULT = [];
protected const PARAM_CATEGORY_DEFAULT = '';
protected const PARAM_SEARCH_DEFAULT = '';

protected const PARAM_ORDERING_DEFAULT = self::PARAM_ORDERING_MOSTVIEWED;
protected const PARAM_PERIOD_DEFAULT = self::PARAM_PERIOD_WEEKLY;
protected const PARAM_THUMBSIZE_DEFAULT = self::PARAM_THUMBSIZE_LARGEHD;
public const PARAM_ORDERING_NEWEST = 'newest';
public const PARAM_ORDERING_MOSTVIEWED = 'mostviewed';
public const PARAM_ORDERING_RATING = 'rating';

public const PARAM_PERIOD_WEEKLY = 'weekly';
public const PARAM_PERIOD_MONTHLY = 'monthly';
public const PARAM_PERIOD_ALLTIME = 'alltime';

public const PARAM_THUMBSIZE_SMALL = 'small';
public const PARAM_THUMBSIZE_MEDIUM = 'medium';
public const PARAM_THUMBSIZE_LARGE = 'large';
public const PARAM_THUMBSIZE_SMALLHD = 'small_hd';
public const PARAM_THUMBSIZE_MEDIUMHD = 'medium_hd';
public const PARAM_THUMBSIZE_LARGEHD = 'large_hd';

public const PARAM_PAGE_DEFAULT = 1;
public const PARAM_STARS_DEFAULT = [];
public const PARAM_TAGS_DEFAULT = [];
public const PARAM_CATEGORY_DEFAULT = '';
public const PARAM_SEARCH_DEFAULT = '';

public const PARAM_ORDERING_DEFAULT = self::PARAM_ORDERING_MOSTVIEWED;
public const PARAM_PERIOD_DEFAULT = self::PARAM_PERIOD_WEEKLY;
public const PARAM_THUMBSIZE_DEFAULT = self::PARAM_THUMBSIZE_LARGEHD;

/**
* @var RequestInterface
Expand Down

0 comments on commit 22cb71d

Please sign in to comment.