ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
◀ ilDoc Overview
CategoryAggregationStrategy.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
28
class
CategoryAggregationStrategy
extends
SubtreeAggregationStrategy
implements
NewsAggregationStrategy
29
{
30
public
function
shouldSkip
(
NewsContext
$context): bool
31
{
32
return
false
;
33
}
34
35
public
function
isRecursive
(): bool
36
{
37
return
true
;
38
}
39
}
ILIAS\News\Aggregation\CategoryAggregationStrategy
Category Aggregation Strategy aggregates related contexts for a category context.
Definition:
CategoryAggregationStrategy.php:29
ILIAS\News\Aggregation\CategoryAggregationStrategy\shouldSkip
shouldSkip(NewsContext $context)
Returns true if the provided context should not be aggregated.
Definition:
CategoryAggregationStrategy.php:30
ILIAS\News\Aggregation\CategoryAggregationStrategy\isRecursive
isRecursive()
Returns true if the strategy already resolves contexts recursively (which is more performant in some ...
Definition:
CategoryAggregationStrategy.php:35
ILIAS\News\Aggregation\SubtreeAggregationStrategy
Subtree Aggregation Strategy aggregates related contexts for groups and courses.
Definition:
SubtreeAggregationStrategy.php:29
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
Definition:
CategoryAggregationStrategy.php:21
components
ILIAS
News
src
Aggregation
CategoryAggregationStrategy.php
Generated on Sun Apr 5 2026 23:03:30 for ILIAS by
1.9.4 (using
Doxyfile
)