ILIAS  release_8 Revision v8.24
interface.ilWebLinkRepository.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
25{
32
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
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
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...
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...
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...
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...
createList(ilWebLinkDraftList $list)
updateList(ilWebLinkList $list, ilWebLinkDraftList $drafted_list)
deleteItemByLinkID(int $link_id)
getParameterinItemByParamId(ilWebLinkItem $item, int $param_id)
getItemByLinkId(int $link_id)
getAllItemsAsContainer(bool $only_active=false)
createItem(ilWebLinkDraftItem $item)
Creates a new item, complete with parameters.
updateItem(ilWebLinkItem $item, ilWebLinkDraftItem $drafted_item)
Updates an item.
deleteParameterByLinkIdAndParamId(int $link_id, int $param_id)
createAllItemsInDraftContainer(ilWebLinkDraftItemsContainer $container)
doesOnlyOneItemExist(bool $only_active=false)
$container
@noRector
Definition: wac.php:14