ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilSAHSEditService.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11{
12
16 protected $request;
17
21 protected $lm;
22
26 public function __construct(
27 array $query_params
28 ) {
29 $this->request = new ilSAHSEditRequest($query_params);
30 $this->ref_id = $this->request->getRequestedRefId();
31 $this->lm = new ilObjSCORM2004LearningModule($this->ref_id);
32 }
33
39 public function getRequest() : ilSAHSEditRequest
40 {
41 return $this->request;
42 }
43
50 {
51 return $this->lm;
52 }
53}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjSCORM2004LearningModule.
Main service init and factory.
__construct(array $query_params)
Constructor.