mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°8772 - Sub-forms WIP
This commit is contained in:
@@ -12,10 +12,33 @@ class AbstractFormIO
|
||||
{
|
||||
|
||||
private AbstractFormBlock $oOwnerBlock;
|
||||
private string $sName;
|
||||
private string $sType;
|
||||
|
||||
public function SetOwnerBlock(AbstractFormBlock $oOwnerBlock): void
|
||||
public function __construct(string $sName, string $sType)
|
||||
{
|
||||
$this->oOwnerBlock = $oOwnerBlock;
|
||||
$this->sName = $sName;
|
||||
$this->sType = $sType;
|
||||
}
|
||||
|
||||
public function GetName(): string
|
||||
{
|
||||
return $this->sName;
|
||||
}
|
||||
|
||||
public function SetName(string $sName): void
|
||||
{
|
||||
$this->sName = $sName;
|
||||
}
|
||||
|
||||
public function GetType(): string
|
||||
{
|
||||
return $this->sType;
|
||||
}
|
||||
|
||||
public function SetType(string $sType): void
|
||||
{
|
||||
$this->sType = $sType;
|
||||
}
|
||||
|
||||
public function GetOwnerBlock(): AbstractFormBlock
|
||||
@@ -23,4 +46,9 @@ class AbstractFormIO
|
||||
return $this->oOwnerBlock;
|
||||
}
|
||||
|
||||
public function SetOwnerBlock(AbstractFormBlock $oOwnerBlock): void
|
||||
{
|
||||
$this->oOwnerBlock = $oOwnerBlock;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user