ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Poll\Image\Factory Class Reference
+ Inheritance diagram for ILIAS\Poll\Image\Factory:
+ Collaboration diagram for ILIAS\Poll\Image\Factory:

Public Member Functions

 __construct ()
 
 repository ()
 
 handler ()
 

Protected Attributes

ilDBInterface $db
 
ilResourceStorageServices $irss
 

Detailed Description

Definition at line 31 of file Factory.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Poll\Image\Factory::__construct ( )

Definition at line 36 of file Factory.php.

37 {
38 global $DIC;
39 $this->db = $DIC->database();
40 $this->irss = $DIC->resourceStorage();
41 }
global $DIC
Definition: shib_login.php:26

References $DIC.

Member Function Documentation

◆ handler()

ILIAS\Poll\Image\Factory::handler ( )

Definition at line 51 of file Factory.php.

51 : ilPollImageInterface
52 {
53 return new ilPollImage(
54 $this->irss,
55 $this->repository()
56 );
57 }

References ILIAS\Poll\Image\Factory\repository().

+ Here is the call graph for this function:

◆ repository()

ILIAS\Poll\Image\Factory::repository ( )

Definition at line 43 of file Factory.php.

43 : ilPollImageRepositoryFactoryInterface
44 {
45 return new ilPollImageRepositoryFactory(
46 $this->db,
47 $this->irss
48 );
49 }

Referenced by ILIAS\Poll\Image\Factory\handler().

+ Here is the caller graph for this function:

Field Documentation

◆ $db

ilDBInterface ILIAS\Poll\Image\Factory::$db
protected

Definition at line 33 of file Factory.php.

◆ $irss

ilResourceStorageServices ILIAS\Poll\Image\Factory::$irss
protected

Definition at line 34 of file Factory.php.


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