ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Component\Activities\ActivityImpl Class Reference

Basic Implementation for Activities. More...

+ Inheritance diagram for ILIAS\Component\Activities\ActivityImpl:
+ Collaboration diagram for ILIAS\Component\Activities\ActivityImpl:

Public Member Functions

 getName ()
 Shall return classname of the Activity, wrapped in Name. More...
 
- Public Member Functions inherited from ILIAS\Component\Activities\Activity
 getType ()
 
 getDescription ()
 
 getInputDescription ()
 
 getOutputDescription (Description\Factory $f)
 
 isAllowedToPerform (int $usr_id, mixed $parameters)
 This shall check if the given user is allowed to perform the activity based on business rules of this component. More...
 
 perform (mixed $parameters)
 This shall perform the activity. More...
 
 maybePerformAs (int $usr_id, array $raw_parameters)
 Grinds the $raw_parameters through the input description, checks if the users is allowed to perform the action as requested and, if so, then attempts to performs it. More...
 

Detailed Description

Basic Implementation for Activities.

Use Command or Query for more speficism instead.

Definition at line 27 of file ActivityImpl.php.

Member Function Documentation

◆ getName()

ILIAS\Component\Activities\ActivityImpl::getName ( )

Shall return classname of the Activity, wrapped in Name.

Implements ILIAS\Component\Activities\Activity.

Definition at line 29 of file ActivityImpl.php.

30  {
31  return new \ILIAS\Component\Dependencies\Name(static::class);
32  }

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