/** * list of delegations * @param \library\httpRequest $request * @return void */ public function delegationsAction(\library\httpRequest $request) { $delegationService = new \applications\modules\instances\services\delegationsService(); $this->page->addVar('delegationsGiven', $delegationService->getDelegationGiven($_SESSION['users']->id)); $this->page->addVar('delegationsReceive', $delegationService->getDelegationReceive($_SESSION['users']->id)); }