| 1 | <?php |
||
| 16 | class ModelMapper implements MapperInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Check if the current mapper can handle the given type. |
||
| 20 | * |
||
| 21 | * @param string $type |
||
| 22 | * |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function canHandleType($type) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Get the TCA configuration for the current type. |
||
| 51 | * |
||
| 52 | * @param string $fieldName |
||
| 53 | * @param bool $overWriteLabel |
||
| 54 | * |
||
| 55 | * @return array |
||
| 56 | */ |
||
| 57 | public function getTcaConfiguration($fieldName, $overWriteLabel = false) |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Get the database definition for the current mapper. |
||
| 73 | * |
||
| 74 | * @return string |
||
| 75 | */ |
||
| 76 | public function getDatabaseDefinition() |
||
| 80 | } |
||
| 81 |