ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilContainerFilterService Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilContainerFilterService:

Public Member Functions

 __construct (ilLanguage $lng=null, ilContainerFilterAdvMDAdapter $adv_adapter=null, ilContainerFilterFieldData $container_field_data=null)
 
 util ()
 
 advancedMetadata ()
 
 data ()
 
 field (int $record_set_id, int $field_id)
 
 set (array $fields)
 Filter Set. More...
 
 standardSet ()
 Get standard set. More...
 
 userFilter (?array $data)
 User filter. More...
 

Protected Attributes

ilLanguage $lng
 
ilContainerFilterFieldData $field_data
 
ilContainerFilterAdvMDAdapter $adv_adapter
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Container filter service factory.

This is an Services/Container internal subservice currently not accessible via DIC API. Do not use this outside of Services/Container.

Main entry point.

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

Definition at line 29 of file class.ilContainerFilterService.php.

Constructor & Destructor Documentation

◆ __construct()

ilContainerFilterService::__construct ( ilLanguage  $lng = null,
ilContainerFilterAdvMDAdapter  $adv_adapter = null,
ilContainerFilterFieldData  $container_field_data = null 
)

Definition at line 35 of file class.ilContainerFilterService.php.

References $adv_adapter, $DIC, $lng, and ILIAS\Repository\lng().

39  {
40  global $DIC;
41 
42  $this->lng = (is_null($lng))
43  ? $DIC->language()
44  : $lng;
45 
46  $this->adv_adapter = (is_null($adv_adapter))
48  : $adv_adapter;
49 
50  $this->field_data = (is_null($container_field_data))
52  : $container_field_data;
53  }
global $DIC
Definition: feed.php:28
ilContainerFilterAdvMDAdapter $adv_adapter
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

Member Function Documentation

◆ advancedMetadata()

ilContainerFilterService::advancedMetadata ( )

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

References $adv_adapter.

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

61  {
62  return $this->adv_adapter;
63  }
ilContainerFilterAdvMDAdapter $adv_adapter
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ data()

ilContainerFilterService::data ( )

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

References $field_data.

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

66  {
67  return $this->field_data;
68  }
ilContainerFilterFieldData $field_data
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ field()

ilContainerFilterService::field ( int  $record_set_id,
int  $field_id 
)

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

Referenced by standardSet().

71  {
72  return new ilContainerFilterField($record_set_id, $field_id);
73  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ set()

ilContainerFilterService::set ( array  $fields)

Filter Set.

Definition at line 78 of file class.ilContainerFilterService.php.

79  {
80  return new ilContainerFilterSet($fields);
81  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ standardSet()

ilContainerFilterService::standardSet ( )

Get standard set.

Definition at line 86 of file class.ilContainerFilterService.php.

References field(), ilContainerFilterField\STD_FIELD_AUTHOR, ilContainerFilterField\STD_FIELD_COPYRIGHT, ilContainerFilterField\STD_FIELD_DESCRIPTION, ilContainerFilterField\STD_FIELD_KEYWORD, ilContainerFilterField\STD_FIELD_OBJECT_TYPE, ilContainerFilterField\STD_FIELD_TITLE, ilContainerFilterField\STD_FIELD_TITLE_DESCRIPTION, and ilContainerFilterField\STD_FIELD_TUTORIAL_SUPPORT.

87  {
88  return new ilContainerFilterSet(
89  [
98  ]
99  );
100  }
field(int $record_set_id, int $field_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ userFilter()

ilContainerFilterService::userFilter ( ?array  $data)

User filter.

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

106  {
107  return new ilContainerUserFilter($data);
108  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ util()

ilContainerFilterService::util ( )

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

References ILIAS\Repository\lng().

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

56  {
57  return new ilContainerFilterUtil($this, $this->adv_adapter, $this->lng);
58  }
Utilities for container filter.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $adv_adapter

ilContainerFilterAdvMDAdapter ilContainerFilterService::$adv_adapter
protected

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

Referenced by __construct(), and advancedMetadata().

◆ $field_data

ilContainerFilterFieldData ilContainerFilterService::$field_data
protected

Definition at line 32 of file class.ilContainerFilterService.php.

Referenced by data().

◆ $lng

ilLanguage ilContainerFilterService::$lng
protected

Definition at line 31 of file class.ilContainerFilterService.php.

Referenced by __construct().


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