ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Component\Activities\Repository Interface Reference
+ Inheritance diagram for ILIAS\Component\Activities\Repository:
+ Collaboration diagram for ILIAS\Component\Activities\Repository:

Public Member Functions

 getActivitiesByName (string $name_matcher, ?ActivityType $type=null, ?Range $range=null)
 Get all activities where the name matches the provided regexp. More...
 

Detailed Description

Definition at line 23 of file Repository.php.

Member Function Documentation

◆ getActivitiesByName()

ILIAS\Component\Activities\Repository::getActivitiesByName ( string  $name_matcher,
?ActivityType  $type = null,
?Range  $range = null 
)

Get all activities where the name matches the provided regexp.

Parameters
string$name_matcheras preg_match can understand
Returns
Iterator<string, Activity> where keys are the name

Implemented in ILIAS\Component\Activities\StaticRepository.


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