22 ilExerciseDerivedTaskProviderFactory::class,
23 \ilForumDerivedTaskProviderFactory::class,
24 \
ILIAS\Survey\Tasks\DerivedTaskProviderFactory::class,
25 ilBlogDerivedTaskProviderFactory::class
39 $this->provider_factories = array_map(
function ($class) use ($service) {
40 return new $class($service);
60 $user_id = $this->service->getDependencies()->user()->getId();
63 foreach ($this->provider_factories as $provider_factory) {
64 foreach ($provider_factory->getProviders() as $provider) {
65 if (!$active_only || $provider->isActive()) {
66 $providers[] = $provider;
Class ChatMainBarProvider .
$default_provider_factories
__construct(ilTaskService $service, $provider_factories=null)
Constructor.
Derived task providers factory.
getAllProviders($active_only=false, $user_id=null)
Get all task providers.