| | |
| | | protected string $add_label = 'Add Row'; |
| | | protected string $row_label = 'New Item'; |
| | | |
| | | public function setAdd_label(string $label):void |
| | | public function setAddLabel(string $label):void |
| | | { |
| | | $this->add_label = $label; |
| | | } |
| | | public function getAdd_label():string |
| | | public function getAddLabel():string |
| | | { |
| | | return $this->add_label; |
| | | } |
| | |
| | | } |
| | | return true; |
| | | } |
| | | public function setRow_label(string $label):void |
| | | public function setRowLabel(string $label):void |
| | | { |
| | | if (str_contains($label, '{{')) { |
| | | if (!$this->checkFieldVariables($label)) { |
| | |
| | | |
| | | $this->row_label = $label; |
| | | } |
| | | public function getRow_label():string |
| | | public function getRowLabel():string |
| | | { |
| | | return $this->row_label; |
| | | } |