| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ILIAS\components\ToDoExample\TodoRepository: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().
 Here is the call graph for this function:| ILIAS\components\ToDoExample\TodoRepository::deleteItem | ( | ToDoItem | $item | ) | 
Definition at line 94 of file TodoRepository.php.
| ILIAS\components\ToDoExample\TodoRepository::getItemsOfUser | ( | int | $user_id | ) | 
| 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().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 27 of file TodoRepository.php.
Referenced by ILIAS\components\ToDoExample\TodoRepository\__construct().