ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Card;
22 
25 
29 interface Factory
30 {
52  public function standard($title, ?Image $image = null): Standard;
53 
85  public function repositoryObject($title, Image $image): RepositoryObject;
86 }
This is how the factory for UI elements looks.
Definition: Factory.php:29
This describes a standard Card.
Definition: Standard.php:26
repositoryObject($title, Image $image)
description: purpose: > Repository Object cards are used in contexts that more visual information ab...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
standard($title, ?Image $image=null)
description: purpose: > The Standard Card is the default Card to be used in ILIAS.