ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilPDSelectedItemsBlockSelectedItemsProvider.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/PersonalDesktop/ItemsBlock/interfaces/interface.ilPDSelectedItemsBlockProvider.php';
5 
10 {
14  protected $actor;
15 
20  public function __construct(ilObjUser $actor)
21  {
22  $this->actor = $actor;
23  }
24 
28  public function getItems($object_type_white_list = array())
29  {
30  return $this->actor->getDesktopItems(count($object_type_white_list) > 0 ? $object_type_white_list : '');
31  }
32 }
__construct(ilObjUser $actor)
ilPDSelectedItemsBlockSelectedItemsProvider constructor.
getItems($object_type_white_list=array())
An optional array of object_types used for filter purposes array An array of repository items...
Create styles array
The data for the language used.
Interface ilPDSelectedItemsBlockProvider.