ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBuddySystemIgnoredRequestRelationStateTableFilterMapper Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilBuddySystemIgnoredRequestRelationStateTableFilterMapper:
+ Collaboration diagram for ilBuddySystemIgnoredRequestRelationStateTableFilterMapper:

Public Member Functions

 filterMatchesRelation (string $filter_key, ilBuddySystemRelation $relation)
 
- Public Member Functions inherited from ilAbstractBuddySystemRelationStateTableFilterMapper
 __construct (ilLanguage $lng, ilBuddySystemRelationState $state)
 
 optionsForState ()
 
 filterMatchesRelation (string $filter_key, ilBuddySystemRelation $relation)
 

Additional Inherited Members

- Protected Attributes inherited from ilAbstractBuddySystemRelationStateTableFilterMapper
 $lng
 
 $state
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file class.ilBuddySystemIgnoredRequestRelationStateTableFilterMapper.php.

Member Function Documentation

◆ filterMatchesRelation()

ilBuddySystemIgnoredRequestRelationStateTableFilterMapper::filterMatchesRelation ( string  $filter_key,
ilBuddySystemRelation  $relation 
)

Implements ilBuddySystemRelationStateTableFilterMapper.

Definition at line 21 of file class.ilBuddySystemIgnoredRequestRelationStateTableFilterMapper.php.

References ilBuddySystemRelation\isOwnedByActor().

21  : bool
22  {
23  if (ilBuddySystemRequestedRelationState::class . '_a' === $filter_key) {
24  return $relation->isOwnedByActor();
25  } elseif ($relation->isOwnedByActor()) {
26  return false;
27  }
28 
29  return parent::filterMatchesRelation($filter_key, $relation);
30  }
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: