mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
35 lines
751 B
PHP
35 lines
751 B
PHP
<?php
|
|
|
|
/**
|
|
* Inherit from this class to provide messages to be displayed in the "Welcome Popup"
|
|
*
|
|
* @api
|
|
* @since 3.2.0
|
|
*/
|
|
abstract class AbstractWelcomePopupExtension implements iWelcomePopupExtension
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function GetIconRelPath(): string
|
|
{
|
|
return \Combodo\iTop\Application\Branding::$aLogoPaths[\Combodo\iTop\Application\Branding::ENUM_LOGO_TYPE_MAIN_LOGO_COMPACT]['default'];
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function GetMessages(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function AcknowledgeMessage(string $sMessageId): void
|
|
{
|
|
// No need to process the acknowledgment notice by default
|
|
return;
|
|
}
|
|
} |