| | |
| | | protected bool $quickEdit = true; // whether to show in quick edit table |
| | | protected bool $quill; // whether to use quill |
| | | protected int $maxLength; // of characters |
| | | protected int $min; |
| | | protected int $max; |
| | | protected string $subtype; |
| | | protected array $condition; |
| | | protected array $allowedSubtype = ['text', 'url','number','tel','email','number']; |
| | |
| | | { |
| | | return $this->section??null; |
| | | } |
| | | |
| | | public function setMin(int $min):void |
| | | { |
| | | $this->min = $min; |
| | | } |
| | | public function getMin():?int |
| | | { |
| | | return $this->min??null; |
| | | } |
| | | public function setMax(int $max):void |
| | | { |
| | | $this->max = $max; |
| | | } |
| | | public function getMax():?int |
| | | { |
| | | return $this->max??null; |
| | | } |
| | | public function setMaxLength(int $maxLength):void |
| | | { |
| | | $this->maxLength = $maxLength; |