| Total Complexity | 8 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class T3Salutation implements \Aimeos\Base\Criteria\Plugin\Iface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Translates the MShop value into its TYPO3 equivalent. |
||
| 25 | * |
||
| 26 | * @param string $value Address constant from \Aimeos\MShop\Common\Item\Address\Base |
||
| 27 | * @return integer TYPO3 gender value or 99 if nothing matches |
||
| 28 | */ |
||
| 29 | public function translate( $value ) |
||
| 42 | } |
||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * Reverses the translation from the TYPO3 value to the MShop constant. |
||
| 47 | * |
||
| 48 | * @param string $value TYPO3 value or empty if not set |
||
| 49 | * @return string Address constant from \Aimeos\MShop\Common\Item\Address\Base |
||
| 50 | */ |
||
| 51 | public function reverse( $value ) |
||
| 66 |