ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilExerciseInternalFactory.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 {
15  protected $request;
16 
20  protected $ui;
21 
25  public function __construct()
26  {
27  }
28 
33  public function service()
34  {
35  return new ilExerciseInternalService();
36  }
37 
43  public function request($query_params = null, $post_data = null)
44  {
45  if ($query_params === null) {
46  $query_params = $_GET;
47  }
48  if ($post_data === null) {
49  $post_data = $_POST;
50  }
51  return new ilExerciseUIRequest($query_params, $post_data);
52  }
53 
59  public function ui($query_params = null, $post_data = null)
60  {
61  return new ilExerciseUI($this->service(), $this->request($query_params, $post_data));
62  }
63 }
$_GET["client_id"]
request($query_params=null, $post_data=null)
Get request.
service()
Internal business logic stuff.
ui($query_params=null, $post_data=null)
Get ui.
$_POST["username"]
Exercise UI frontend presentation service class.