ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilWebLinkRepository.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
25 {
31  public function createItem(ilWebLinkDraftItem $item): ilWebLinkItem;
32 
33  public function createList(ilWebLinkDraftList $list): ilWebLinkList;
34 
36 
37  public function getAllItemsAsContainer(bool $only_active = false): ilWebLinkItemsContainer;
38 
39  public function getItemByLinkId(int $link_id): ilWebLinkItem;
40 
41  public function doesOnlyOneItemExist(bool $only_active = false): bool;
42 
43  public function getParameterinItemByParamId(
44  ilWebLinkItem $item,
45  int $param_id
47 
48  public function getList(): ilWebLinkList;
49 
50  public function doesListExist(): bool;
51 
57  public function updateItem(
58  ilWebLinkItem $item,
59  ilWebLinkDraftItem $drafted_item
60  ): void;
61 
62  public function updateList(
63  ilWebLinkList $list,
64  ilWebLinkDraftList $drafted_list
65  ): void;
66 
67  public function deleteAllItems(): void;
68 
69  public function deleteItemByLinkID(int $link_id): void;
70 
71  public function deleteParameterByLinkIdAndParamId(
72  int $link_id,
73  int $param_id
74  ): void;
75 
76  public function deleteList(): void;
77 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
deleteItemByLinkID(int $link_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
updateItem(ilWebLinkItem $item, ilWebLinkDraftItem $drafted_item)
Updates an item.
deleteParameterByLinkIdAndParamId(int $link_id, int $param_id)
$container
Definition: wac.php:14
createList(ilWebLinkDraftList $list)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getParameterinItemByParamId(ilWebLinkItem $item, int $param_id)
getAllItemsAsContainer(bool $only_active=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
doesOnlyOneItemExist(bool $only_active=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
createItem(ilWebLinkDraftItem $item)
Creates a new item, complete with parameters.
createAllItemsInDraftContainer(ilWebLinkDraftItemsContainer $container)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
updateList(ilWebLinkList $list, ilWebLinkDraftList $drafted_list)
getItemByLinkId(int $link_id)