ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (ilDBInterface $db) | |
getItemsOfUser (int $user_id) | |
Get the items of a user. More... | |
createItem (TodoItem $item) | |
Create an item in the database The returned item has an automatically created id. More... | |
updateItem (TodoItem $item) | |
Update an item in the database. More... | |
deleteItem (ToDoItem $item) | |
Protected Attributes | |
ilDBInterface | $db |
Definition at line 25 of file TodoRepository.php.
ILIAS\components\ToDoExample\TodoRepository::__construct | ( | ilDBInterface | $db | ) |
Definition at line 29 of file TodoRepository.php.
References ILIAS\components\ToDoExample\TodoRepository\$db.
ILIAS\components\ToDoExample\TodoRepository::createItem | ( | TodoItem | $item | ) |
Create an item in the database The returned item has an automatically created id.
Definition at line 62 of file TodoRepository.php.
References ILIAS\components\ToDoExample\TodoItem\getDeadline(), ILIAS\components\ToDoExample\TodoItem\getDescription(), ILIAS\components\ToDoExample\TodoItem\getTitle(), ILIAS\components\ToDoExample\TodoItem\getUserId(), and ILIAS\components\ToDoExample\TodoItem\widthTodoId().
ILIAS\components\ToDoExample\TodoRepository::deleteItem | ( | ToDoItem | $item | ) |
Definition at line 94 of file TodoRepository.php.
ILIAS\components\ToDoExample\TodoRepository::getItemsOfUser | ( | int | $user_id | ) |
Get the items of a user.
Definition at line 38 of file TodoRepository.php.
References null.
ILIAS\components\ToDoExample\TodoRepository::updateItem | ( | TodoItem | $item | ) |
Update an item in the database.
Definition at line 80 of file TodoRepository.php.
References ILIAS\components\ToDoExample\TodoItem\getDeadline(), ILIAS\components\ToDoExample\TodoItem\getDescription(), ILIAS\components\ToDoExample\TodoItem\getTitle(), ILIAS\components\ToDoExample\TodoItem\getTodoId(), and ILIAS\components\ToDoExample\TodoItem\getUserId().
|
protected |
Definition at line 27 of file TodoRepository.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\__construct().