ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Public Member Functions | |
__construct (private int $todo_id, private int $user_id, private string $title, private ?string $description, private ?string $deadline) | |
getTodoId () | |
Get the id of the item. More... | |
getUserId () | |
Get the id of the user to which the item belongs. More... | |
getTitle () | |
Get the title of the item. More... | |
getDescription () | |
Get a description of the item (optional) More... | |
getDeadline () | |
Get the deadline of the item (optional) More... | |
widthTodoId (int $todo_id) | |
Get a clone with a new id. More... | |
Definition at line 23 of file TodoItem.php.
ILIAS\components\ToDoExample\TodoItem::__construct | ( | private int | $todo_id, |
private int | $user_id, | ||
private string | $title, | ||
private ?string | $description, | ||
private ?string | $deadline | ||
) |
Definition at line 25 of file TodoItem.php.
ILIAS\components\ToDoExample\TodoItem::getDeadline | ( | ) |
Get the deadline of the item (optional)
Definition at line 69 of file TodoItem.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\createItem(), and ILIAS\components\ToDoExample\TodoRepository\updateItem().
ILIAS\components\ToDoExample\TodoItem::getDescription | ( | ) |
Get a description of the item (optional)
Definition at line 61 of file TodoItem.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\createItem(), and ILIAS\components\ToDoExample\TodoRepository\updateItem().
ILIAS\components\ToDoExample\TodoItem::getTitle | ( | ) |
Get the title of the item.
Definition at line 53 of file TodoItem.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\createItem(), and ILIAS\components\ToDoExample\TodoRepository\updateItem().
ILIAS\components\ToDoExample\TodoItem::getTodoId | ( | ) |
Get the id of the item.
Definition at line 37 of file TodoItem.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\updateItem().
ILIAS\components\ToDoExample\TodoItem::getUserId | ( | ) |
Get the id of the user to which the item belongs.
Definition at line 45 of file TodoItem.php.
References $user_id.
Referenced by ILIAS\components\ToDoExample\TodoRepository\createItem(), and ILIAS\components\ToDoExample\TodoRepository\updateItem().
ILIAS\components\ToDoExample\TodoItem::widthTodoId | ( | int | $todo_id | ) |
Get a clone with a new id.
Definition at line 77 of file TodoItem.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\createItem().