| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 73 | public function getCustomInfoToArray() |
||
| 74 | { |
||
| 75 | $allinfo = explode($this->separator, $this->data['CustomInfo']); |
||
| 76 | $customInfoArray = []; |
||
| 77 | foreach ($allinfo as $singleInfo) { |
||
| 78 | $tagvalue = explode('=', $singleInfo); |
||
| 79 | $customInfoArray[$tagvalue[0]] = urldecode($tagvalue[1]); |
||
| 80 | } |
||
| 81 | |||
| 82 | return $customInfoArray; |
||
| 83 | } |
||
| 85 |