ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilExerciseInternalFactory Class Reference

Internal service factory. More...

+ Collaboration diagram for ilExerciseInternalFactory:

Public Member Functions

 __construct ()
 Constructor. More...
 
 service ()
 Internal business logic stuff. More...
 
 request ($query_params=null, $post_data=null)
 Get request. More...
 
 ui ($query_params=null, $post_data=null)
 Get ui. More...
 

Protected Attributes

 $request
 
 $ui
 

Detailed Description

Internal service factory.

Author
killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 10 of file class.ilExerciseInternalFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ilExerciseInternalFactory::__construct ( )

Constructor.

Definition at line 25 of file class.ilExerciseInternalFactory.php.

26  {
27  }

Member Function Documentation

◆ request()

ilExerciseInternalFactory::request (   $query_params = null,
  $post_data = null 
)

Get request.

Returns
ilExerciseUIRequest

Definition at line 43 of file class.ilExerciseInternalFactory.php.

References $_GET, and $_POST.

Referenced by ui().

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  }
$_GET["client_id"]
$_POST["username"]
+ Here is the caller graph for this function:

◆ service()

ilExerciseInternalFactory::service ( )

Internal business logic stuff.

Returns
ilExerciseInternalService

Definition at line 33 of file class.ilExerciseInternalFactory.php.

Referenced by ui().

34  {
35  return new ilExerciseInternalService();
36  }
+ Here is the caller graph for this function:

◆ ui()

ilExerciseInternalFactory::ui (   $query_params = null,
  $post_data = null 
)

Get ui.

Returns
ilExerciseUI

Definition at line 59 of file class.ilExerciseInternalFactory.php.

References request(), and service().

60  {
61  return new ilExerciseUI($this->service(), $this->request($query_params, $post_data));
62  }
request($query_params=null, $post_data=null)
Get request.
service()
Internal business logic stuff.
Exercise UI frontend presentation service class.
+ Here is the call graph for this function:

Field Documentation

◆ $request

ilExerciseInternalFactory::$request
protected

Definition at line 15 of file class.ilExerciseInternalFactory.php.

◆ $ui

ilExerciseInternalFactory::$ui
protected

Definition at line 20 of file class.ilExerciseInternalFactory.php.


The documentation for this class was generated from the following file: