ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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, ?LOMServices $lom_services=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
 
LOMServices $lom_services
 

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 31 of file class.ilContainerFilterService.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

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

43  {
44  global $DIC;
45 
46  $this->lng = (is_null($lng))
47  ? $DIC->language()
48  : $lng;
49 
50  $this->adv_adapter = (is_null($adv_adapter))
52  : $adv_adapter;
53 
54  $this->field_data = (is_null($container_field_data))
56  : $container_field_data;
57 
58  $this->lom_services = (is_null($lom_services))
59  ? $DIC->learningObjectMetadata()
60  : $lom_services;
61  }
global $DIC
Definition: shib_login.php:22
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 68 of file class.ilContainerFilterService.php.

References $adv_adapter.

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

69  {
70  return $this->adv_adapter;
71  }
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 73 of file class.ilContainerFilterService.php.

References $field_data.

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

74  {
75  return $this->field_data;
76  }
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 78 of file class.ilContainerFilterService.php.

Referenced by standardSet().

79  {
80  return new ilContainerFilterField($record_set_id, $field_id);
81  }
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 86 of file class.ilContainerFilterService.php.

87  {
88  return new ilContainerFilterSet($fields);
89  }
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 94 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.

95  {
96  return new ilContainerFilterSet(
97  [
106  ]
107  );
108  }
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 113 of file class.ilContainerFilterService.php.

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

◆ util()

ilContainerFilterService::util ( )

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

References ILIAS\Repository\lng().

Referenced by ilContainerFilterUtil\getContainerRecordTitle().

64  {
65  return new ilContainerFilterUtil($this, $this->adv_adapter, $this->lng, $this->lom_services);
66  }
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 35 of file class.ilContainerFilterService.php.

Referenced by __construct(), and advancedMetadata().

◆ $field_data

ilContainerFilterFieldData ilContainerFilterService::$field_data
protected

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

Referenced by data().

◆ $lng

ilLanguage ilContainerFilterService::$lng
protected

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

Referenced by __construct().

◆ $lom_services

LOMServices ilContainerFilterService::$lom_services
protected

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

Referenced by __construct().


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