ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
CategoryAggregationStrategy.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
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}
Category Aggregation Strategy aggregates related contexts for a category context.
shouldSkip(NewsContext $context)
Returns true if the provided context should not be aggregated.
isRecursive()
Returns true if the strategy already resolves contexts recursively (which is more performant in some ...
Subtree Aggregation Strategy aggregates related contexts for groups and courses.
News Context DTO represents a context where news items can be associated with.
Definition: NewsContext.php:29
News Aggregation Strategy Interface defines the contract for news aggregation strategies.