ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
MarkableInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
30  public function isMarked(): bool;
31 
32  public function getMarker(): ?MarkerInterface;
33 
42  public function mark(
43  MarkerFactoryInterface $factory,
44  Action $action,
45  string $data_value = ''
46  ): void;
47 
51  public function unmark(): void;
52 }
mark(MarkerFactoryInterface $factory, Action $action, string $data_value='')
Leaves a trail of markers from this element up to the root element, or up to the first already marked...
isMarked()
Elements can be marked to be created, updated or deleted.
unmark()
Removes markers from this element, and recursively from all sub-elements.