ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Container\Classification\ClassificationManager Class Reference
+ Collaboration diagram for ILIAS\Container\Classification\ClassificationManager:

Public Member Functions

 __construct (ClassificationSessionRepository $repo, int $base_ref_id)
 
 clearSelection ()
 
 clearSelectionOfProvider (string $provider)
 
 isEmptySelection ()
 
 getSelectionOfProvider (string $provider)
 
 setSelectionOfProvider (string $provider, array $value)
 

Protected Attributes

ClassificationSessionRepository $repo
 
int $base_ref_id
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Container\Classification\ClassificationManager::__construct ( ClassificationSessionRepository  $repo,
int  $base_ref_id 
)

Member Function Documentation

◆ clearSelection()

ILIAS\Container\Classification\ClassificationManager::clearSelection ( )

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

36 : void
37 {
38 $this->repo->unsetAll();
39 }

◆ clearSelectionOfProvider()

ILIAS\Container\Classification\ClassificationManager::clearSelectionOfProvider ( string  $provider)

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

41 : void
42 {
43 $this->repo->unsetValueForProvider($provider);
44 }
$provider
Definition: ltitoken.php:80

References $provider.

◆ getSelectionOfProvider()

ILIAS\Container\Classification\ClassificationManager::getSelectionOfProvider ( string  $provider)

Definition at line 51 of file class.ClassificationManager.php.

51 : array
52 {
53 return $this->repo->getValueForProvider($provider);
54 }

References $provider.

◆ isEmptySelection()

ILIAS\Container\Classification\ClassificationManager::isEmptySelection ( )

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

46 : bool
47 {
48 return $this->repo->isEmpty();
49 }

◆ setSelectionOfProvider()

ILIAS\Container\Classification\ClassificationManager::setSelectionOfProvider ( string  $provider,
array  $value 
)

Definition at line 56 of file class.ClassificationManager.php.

56 : void
57 {
58 $this->repo->setValueForProvider($provider, $value);
59 }

References $provider.

Field Documentation

◆ $base_ref_id

int ILIAS\Container\Classification\ClassificationManager::$base_ref_id
protected

◆ $repo

ClassificationSessionRepository ILIAS\Container\Classification\ClassificationManager::$repo
protected

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