| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class CMSNicetiesFormFieldExtension extends Extension |
||
| 13 | { |
||
| 14 | |||
| 15 | public function AddToDescription(string $description) |
||
| 16 | { |
||
| 17 | $owner = $this->getOwner(); |
||
| 18 | $descriptionArray = [$owner->getDescription()]; |
||
| 19 | $descriptionArray[] = $description; |
||
| 20 | return $owner->setDescription(implode('<br />', array_filter($descriptionArray))); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function AddToRightTitle(string $description) |
||
| 29 | } |
||
| 30 | |||
| 31 | public function AddToLeftTitle(string $description) |
||
| 39 |