ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Style\Content\Container\ContainerManager Class Reference

Manages container related content style behaviour. More...

+ Collaboration diagram for ILIAS\Style\Content\Container\ContainerManager:

Public Member Functions

 __construct (InternalRepoService $repo_service, int $ref_id)
 
 saveReuse (bool $reuse)
 
 getReuse ()
 

Protected Attributes

ContainerDBRepository $container_repo
 
int $ref_id
 
InternalRepoService $repo_service
 

Detailed Description

Manages container related content style behaviour.

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\Container\ContainerManager::__construct ( InternalRepoService  $repo_service,
int  $ref_id 
)

Member Function Documentation

◆ getReuse()

ILIAS\Style\Content\Container\ContainerManager::getReuse ( )

Definition at line 49 of file class.ContainerManager.php.

49 : bool
50 {
51 return $this->container_repo->readReuse($this->ref_id);
52 }

◆ saveReuse()

ILIAS\Style\Content\Container\ContainerManager::saveReuse ( bool  $reuse)

Definition at line 44 of file class.ContainerManager.php.

44 : void
45 {
46 $this->container_repo->updateReuse($this->ref_id, $reuse);
47 }

Field Documentation

◆ $container_repo

ContainerDBRepository ILIAS\Style\Content\Container\ContainerManager::$container_repo
protected

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

◆ $ref_id

int ILIAS\Style\Content\Container\ContainerManager::$ref_id
protected

◆ $repo_service

InternalRepoService ILIAS\Style\Content\Container\ContainerManager::$repo_service
protected

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