ILIAS
trunk Revision v12.0_alpha-399-g579a087ced2
◀ ilDoc Overview
NewsAggregationStrategy.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\News\Aggregation
;
22
23
use
ILIAS\News\Data\NewsContext
;
24
29
interface
NewsAggregationStrategy
30
{
34
public
function
aggregate
(
NewsContext
$base_context): array;
35
40
public
function
shouldSkip
(
NewsContext
$context
): bool;
41
46
public
function
isRecursive
(): bool;
47
}
ILIAS\News\Data\NewsContext
News Context DTO represents a context where news items can be associated with.
Definition:
NewsContext.php:29
ILIAS\News\Aggregation\NewsAggregationStrategy
News Aggregation Strategy Interface defines the contract for news aggregation strategies.
Definition:
NewsAggregationStrategy.php:30
ILIAS\News\Aggregation\NewsAggregationStrategy\aggregate
aggregate(NewsContext $base_context)
ILIAS\News\Aggregation\NewsAggregationStrategy\shouldSkip
shouldSkip(NewsContext $context)
Returns true if the provided context should not be aggregated.
ILIAS\News\Aggregation\NewsAggregationStrategy\isRecursive
isRecursive()
Returns true if the strategy already resolves contexts recursively (which is more performant in some ...
ILIAS\News\Aggregation
Definition:
CategoryAggregationStrategy.php:21
$context
$context
Definition:
webdav.php:31
components
ILIAS
News
src
Aggregation
NewsAggregationStrategy.php
Generated on Mon Dec 15 2025 23:02:48 for ILIAS by
1.9.4 (using
Doxyfile
)