N°8772 - Sub-forms WIP

This commit is contained in:
Eric Espie
2025-10-24 16:56:45 +02:00
parent 675db85131
commit c2fcf4144b
9 changed files with 73 additions and 72 deletions

View File

@@ -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;
}
}