mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-14 18:20:11 +02:00
Remove redundant methods
This commit is contained in:
@@ -35,7 +35,6 @@ trait tActionCommon
|
||||
protected string $sLabel;
|
||||
protected string $sIconClass = '';
|
||||
protected ?string $sTooltip = null;
|
||||
protected array $aCssClasses = [];
|
||||
|
||||
public function GetUID(): string
|
||||
{
|
||||
@@ -80,21 +79,4 @@ trait tActionCommon
|
||||
$this->sTooltip = $sTooltip;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function GetCssClasses(): array
|
||||
{
|
||||
return $this->aCssClasses;
|
||||
}
|
||||
|
||||
public function SetCssClasses(array $aCssClasses): static
|
||||
{
|
||||
$this->aCssClasses = $aCssClasses;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function AddCssClass(string $sCssClass): static
|
||||
{
|
||||
$this->aCssClasses[] = $sCssClass;
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user