ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\News\StandardGUIRequest Class Reference
+ Collaboration diagram for ILIAS\News\StandardGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getNewsId ()
 
 getNewsPage ()
 
 getNewsRefId ()
 
 getNewsContext ()
 
 getDeleteMedia ()
 
 getRenderedNews ()
 
 getNewsAction ()
 
 getId ()
 
 getCmd ()
 
 getDashboardPeriod ()
 
 getNewsPer ()
 
 getNewsIds ()
 
 getFilterOff ()
 

Detailed Description

Definition at line 23 of file class.StandardGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\News\StandardGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 27 of file class.StandardGUIRequest.php.

References ILIAS\Repository\initRequest().

32  {
33  $this->initRequest(
34  $http,
35  $refinery,
36  $passed_query_params,
37  $passed_post_data
38  );
39  }
$http
Definition: deliver.php:30
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
+ Here is the call graph for this function:

Member Function Documentation

◆ getCmd()

ILIAS\News\StandardGUIRequest::getCmd ( )

Definition at line 90 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

90  : string
91  {
92  return $this->str("cmd");
93  }
+ Here is the call graph for this function:

◆ getDashboardPeriod()

ILIAS\News\StandardGUIRequest::getDashboardPeriod ( )

Definition at line 95 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

95  : string
96  {
97  return $this->str("news_pd_period");
98  }
+ Here is the call graph for this function:

◆ getDeleteMedia()

ILIAS\News\StandardGUIRequest::getDeleteMedia ( )

Definition at line 70 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

70  : int
71  {
72  return $this->int("media_delete");
73  }
+ Here is the call graph for this function:

◆ getFilterOff()

ILIAS\News\StandardGUIRequest::getFilterOff ( )

Definition at line 110 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

110  : bool
111  {
112  $cmd = $this->str("cmdFilter"); // workaround since toggleOff adds asynch flag
113  return ($cmd === "toggleOff");
114  }
+ Here is the call graph for this function:

◆ getId()

ILIAS\News\StandardGUIRequest::getId ( )

Definition at line 85 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

85  : int
86  {
87  return $this->int("id");
88  }
+ Here is the call graph for this function:

◆ getNewsAction()

ILIAS\News\StandardGUIRequest::getNewsAction ( )

Definition at line 80 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

80  : string
81  {
82  return $this->str("news_action");
83  }
+ Here is the call graph for this function:

◆ getNewsContext()

ILIAS\News\StandardGUIRequest::getNewsContext ( )

Definition at line 65 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

65  : string
66  {
67  return $this->str("news_context");
68  }
+ Here is the call graph for this function:

◆ getNewsId()

ILIAS\News\StandardGUIRequest::getNewsId ( )

Definition at line 46 of file class.StandardGUIRequest.php.

References $id, and ILIAS\Repository\int().

46  : int
47  {
48  $id = $this->int("news_id");
49  if ($id === 0) {
50  $id = $this->int("id");
51  }
52  return $id;
53  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getNewsIds()

ILIAS\News\StandardGUIRequest::getNewsIds ( )

Definition at line 105 of file class.StandardGUIRequest.php.

References ILIAS\Repository\intArray().

105  : array
106  {
107  return $this->intArray("news_id");
108  }
+ Here is the call graph for this function:

◆ getNewsPage()

ILIAS\News\StandardGUIRequest::getNewsPage ( )

Definition at line 55 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

55  : int
56  {
57  return $this->int("news_page");
58  }
+ Here is the call graph for this function:

◆ getNewsPer()

ILIAS\News\StandardGUIRequest::getNewsPer ( )

Definition at line 100 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

100  : string
101  {
102  return $this->str("news_per");
103  }
+ Here is the call graph for this function:

◆ getNewsRefId()

ILIAS\News\StandardGUIRequest::getNewsRefId ( )

Definition at line 60 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

60  : int
61  {
62  return $this->int("news_ref_id");
63  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\News\StandardGUIRequest::getRefId ( )

Definition at line 41 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

Referenced by ilNewsForContextBlockGUI\addToSettingsForm().

41  : int
42  {
43  return $this->int("ref_id");
44  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRenderedNews()

ILIAS\News\StandardGUIRequest::getRenderedNews ( )

Definition at line 75 of file class.StandardGUIRequest.php.

References ILIAS\Repository\intArray().

75  : array
76  {
77  return $this->intArray("rendered_news");
78  }
+ Here is the call graph for this function:

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