44 public function task(
string $title,
int $ref_id,
int $deadline,
int $starting_time,
int $wsp_id = 0) :
ilDerivedTask 46 return new ilDerivedTask($title, $ref_id, $deadline, $starting_time, $wsp_id);
69 $master_factory = $this->service->getDependencies()->getDerivedTaskProviderMasterFactory();
70 return $master_factory->getAllProviders($active_only, $user_id);
Derived task data object.
getDependencies()
Get dependencies.
task(string $title, int $ref_id, int $deadline, int $starting_time, int $wsp_id=0)
Subservice for derived tasks.
__construct(ilTaskService $service)
Constructor.
Factory for derived task subservice.
collector()
Entry collector.
getAllProviders($active_only=false, $user_id=null)
Get all task providers.