ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
EventInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 interface EventInterface
24 {
25  public function beforeMoveToTrash(int $ref_id, array $subnodes): void;
26  public function afterMoveToTrash(int $ref_id, int $old_parent_ref_id): void;
27  public function beforeSubtreeRemoval(int $obj_id): void;
28 
29  public function beforeObjectRemoval(
30  int $obj_id,
31  int $ref_id,
32  string $type,
33  string $title
34  ): void;
35 
36  public function failedRemoval(
37  int $obj_id,
38  int $ref_id,
39  string $type,
40  string $title,
41  string $message
42  ): void;
43 
44  public function afterObjectRemoval(
45  int $obj_id,
46  int $ref_id,
47  string $type,
48  int $old_parent_ref_id
49  ): void;
50 
51 
52  public function afterTreeDeletion(
53  int $tree_id,
54  int $child
55  ): void;
56 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
afterObjectRemoval(int $obj_id, int $ref_id, string $type, int $old_parent_ref_id)
failedRemoval(int $obj_id, int $ref_id, string $type, string $title, string $message)
afterMoveToTrash(int $ref_id, int $old_parent_ref_id)
afterTreeDeletion(int $tree_id, int $child)
$ref_id
Definition: ltiauth.php:65
beforeObjectRemoval(int $obj_id, int $ref_id, string $type, string $title)
beforeMoveToTrash(int $ref_id, array $subnodes)
$message
Definition: xapiexit.php:31