ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\Certificate\Provider\CertificateMainBarProvider Class Reference

Class CertificateMainBarProvider. More...

+ Inheritance diagram for ILIAS\Certificate\Provider\CertificateMainBarProvider:
+ Collaboration diagram for ILIAS\Certificate\Provider\CertificateMainBarProvider:

Public Member Functions

 getStaticTopItems ()
 @inheritDoc More...
 
 getStaticSubItems ()
 @inheritDoc More...
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
 __construct (Container $dic)
 @inheritDoc More...
 
 getAllIdentifications ()
 @inheritDoc More...
 
 provideTypeInformation ()
 @inheritDoc More...
 
- Public Member Functions inherited from ILIAS\GlobalScreen\Provider\AbstractProvider
 __construct (Container $dic)
 @inheritDoc More...
 
 getFullyQualifiedClassName ()
 @inheritDoc More...
 
 getProviderNameForPresentation ()
 
 getFullyQualifiedClassName ()
 
 getProviderNameForPresentation ()
 
 getStaticTopItems ()
 
 getStaticSubItems ()
 
 provideTypeInformation ()
 
 getAllIdentifications ()
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\GlobalScreen\Provider\AbstractProvider
 globalScreen ()
 
- Protected Attributes inherited from ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
 $dic
 
 $if
 
 $mainmenu
 
- Protected Attributes inherited from ILIAS\GlobalScreen\Provider\AbstractProvider
 $dic
 

Detailed Description

Member Function Documentation

◆ getStaticSubItems()

ILIAS\Certificate\Provider\CertificateMainBarProvider::getStaticSubItems ( )

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider.

Definition at line 27 of file CertificateMainBarProvider.php.

27 : array
28 {
29 global $DIC;
30
31 $title = $this->dic->language()->txt("mm_certificates");
32 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard("cert", $title)->withIsOutlined(true);
33
35
36 $ctrl = $DIC->ctrl();
37 return [
38 $this->mainmenu->link($this->if->identifier('mm_cert'))
39 ->withTitle($title)
40 ->withAction($ctrl->getLinkTargetByClass(["ilDashboardGUI",
41 "ilAchievementsGUI","ilUserCertificateGUI"]))
42 ->withParent(StandardTopItemsProvider::getInstance()->getAchievementsIdentification())
43 ->withVisibilityCallable($access_helper->isUserLoggedIn())
44 ->withSymbol($icon)
45 ->withPosition(50),
46 ];
47 }
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Definition: confirmReg.php:12
$DIC
Definition: xapitoken.php:46

References $DIC, ILIAS\GlobalScreen\Helper\BasicAccessCheckClosures\getInstance(), ILIAS\MainMenu\Provider\StandardTopItemsProvider\getInstance(), and if.

+ Here is the call graph for this function:

◆ getStaticTopItems()

ILIAS\Certificate\Provider\CertificateMainBarProvider::getStaticTopItems ( )

@inheritDoc

Implements ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider.

Definition at line 18 of file CertificateMainBarProvider.php.

18 : array
19 {
20 return [];
21 }

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