upload files

This commit is contained in:
2024-09-10 12:55:41 +03:00
parent 09d8427293
commit fa8fb69f19
7 changed files with 84 additions and 30 deletions

View File

@ -36,6 +36,11 @@ class FormModel
return $this->data;
}
public function setItem(string $name, string|int $value): void
{
$this->data[$name] = $value;
}
public function getItem(string $name)
{
if (isset($this->data[$name])){