ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilLikeFactoryGUI.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12{
18 public function __construct()
19 {
20 }
21
28 public function widget(array $a_obj_ids)
29 {
30 include_once("./Services/Like/classes/class.ilLikeGUI.php");
31 include_once("./Services/Like/classes/class.ilLikeData.php");
32 $data = new ilLikeData($a_obj_ids);
33 $like_gui = new ilLikeGUI($data);
34 return $like_gui;
35 }
36}
An exception for terminatinating execution or to throw for unit testing.
Data class for like feature.
widget(array $a_obj_ids)
Get widget.
User interface for like feature.
$data
Definition: storeScorm.php:23