ILIAS  trunk Revision v11.0_alpha-1871-gde1fee8db3d
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Skill\Usage\UsageManager Class Reference
+ Collaboration diagram for ILIAS\Skill\Usage\UsageManager:

Public Member Functions

 __construct (UsageDBRepository $db_repo)
 
 getUsageOfObject (int $obj_id, bool $include_titles=false)
 

Protected Attributes

UsageDBRepository $db_repo
 

Detailed Description

Definition at line 23 of file UsageManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Usage\UsageManager::__construct ( UsageDBRepository  $db_repo)

Definition at line 27 of file UsageManager.php.

References ILIAS\Skill\Usage\UsageManager\$db_repo.

29  {
30  $this->db_repo = $db_repo;
31  }

Member Function Documentation

◆ getUsageOfObject()

ILIAS\Skill\Usage\UsageManager::getUsageOfObject ( int  $obj_id,
bool  $include_titles = false 
)

Definition at line 33 of file UsageManager.php.

33  : array
34  {
35  return $this->db_repo->getUsageOfObject($obj_id, $include_titles);
36  }

Field Documentation

◆ $db_repo

UsageDBRepository ILIAS\Skill\Usage\UsageManager::$db_repo
protected

Definition at line 25 of file UsageManager.php.

Referenced by ILIAS\Skill\Usage\UsageManager\__construct().


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