mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Form SDK implementation - Basic Forms - Dynamics Forms - Basic Blocks + Data Model Block - Form Compilation - Turbo integration
46 lines
852 B
PHP
46 lines
852 B
PHP
<?php
|
|
|
|
/*
|
|
* @copyright Copyright (C) 2010-2025 Combodo SARL
|
|
* @license http://opensource.org/licenses/AGPL-3.0
|
|
*/
|
|
|
|
namespace Combodo\iTop\Application\TwigBase\Controller;
|
|
|
|
abstract class AbstractProfilerExtension implements iProfilerExtension
|
|
{
|
|
protected bool $bDebugForced;
|
|
|
|
public function Init()
|
|
{
|
|
}
|
|
|
|
abstract public function GetTemplatesPath(): null|string|array;
|
|
|
|
abstract public function IsEnabled(): bool;
|
|
|
|
abstract public function GetDebugTemplate(): string;
|
|
|
|
abstract public function GetDebugParams(array $aParams): array;
|
|
|
|
public function GetLinkedScripts(): ?array
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function GetLinkedStylesheets(): ?array
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function GetSaas(): null|array
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public function SetDebugForced(bool $bDebugForced): void
|
|
{
|
|
$this->bDebugForced = $bDebugForced;
|
|
}
|
|
}
|