Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

DateTrashed.php
Go to the documentation of this file.
1 <?php
2
7 declare(strict_types=1);
8
9 namespace eZ\Publish\API\Repository\Values\Content\Query\SortClause\Trash;
10
11 use eZ\Publish\API\Repository\Values\Content\Query;
12 use eZ\Publish\API\Repository\Values\Content\Query\SortClause;
13
17 class DateTrashed extends SortClause
18 {
19 public function __construct(string $sortDirection = Query::SORT_ASC)
20 {
21 parent::__construct('trashed', $sortDirection);
22 }
23 }
eZ\Publish\API\Repository\Values\Content\Query\SortClause\Trash\DateTrashed
Sets sort direction on the Trashed Location date for a Location query.
Definition: DateTrashed.php:18
eZ\Publish\API\Repository\Values\Content\Query\SortClause\Trash\DateTrashed\__construct
__construct(string $sortDirection=Query::SORT_ASC)
Definition: DateTrashed.php:19
eZ\Publish\API\Repository\Values\Content\Query\SortClause
This class is the base for SortClause classes, used to set sorting of content queries.
Definition: Content/Query/SortClause.php:16
eZ\Publish\API\Repository\Values\Content\Query
This class is used to perform a Content query.
Definition: API/Repository/Values/Content/Query.php:15
eZ\Publish\API\Repository\Values\Content\Query\SORT_ASC
const SORT_ASC
Definition: API/Repository/Values/Content/Query.php:16
eZ\Publish\API\Repository\Values\Content\Query\SortClause\Trash
Definition: DateTrashed.php:9
eZ\Publish\API\Repository\Values\Content\Query\SortClause
Definition: API/Repository/Values/Content/Query/SortClause/ContentId.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.