ILIAS  release_8 Revision v8.24
ilObjectTileImageFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilObjectTileImageFactory:
+ Collaboration diagram for ilObjectTileImageFactory:

Public Member Functions

 __construct (ilObjectService $service)
 
 getSupportedFileExtensions ()
 
 getByObjId (int $obj_id)
 
 getSupportedFileExtensions ()
 
 getByObjId (int $obj_id)
 

Protected Attributes

ilObjectService $service
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 21 of file class.ilObjectTileImageFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjectTileImageFactory::__construct ( ilObjectService  $service)

Definition at line 25 of file class.ilObjectTileImageFactory.php.

26 {
27 $this->service = $service;
28 }

References $service.

Member Function Documentation

◆ getByObjId()

ilObjectTileImageFactory::getByObjId ( int  $obj_id)

Implements ilObjectTileImageFactoryInterface.

Definition at line 38 of file class.ilObjectTileImageFactory.php.

39 {
40 return new ilObjectTileImage($this->service, $obj_id);
41 }

◆ getSupportedFileExtensions()

ilObjectTileImageFactory::getSupportedFileExtensions ( )
Returns
string[]

Implements ilObjectTileImageFactoryInterface.

Definition at line 33 of file class.ilObjectTileImageFactory.php.

33 : array
34 {
35 return ['png', 'jpg', 'jpeg'];
36 }

Field Documentation

◆ $service

ilObjectService ilObjectTileImageFactory::$service
protected

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

Referenced by __construct().


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