Persistence · Question 3 of 12
An Extbase model has the property $conferenceDate. Which database column is it mapped to without custom mapping configuration?
1 answer is correct. Easy
Show answer
Answer
- C conference_date
Explanation
Extbase automatically converts camelCase property names into snake_case column names: $conferenceDate becomes conference_date, $mainSpeaker becomes main_speaker. In the Fluid template, however, you keep using the property name, i.e. {conference.conferenceDate}. If table or column names deviate from the convention, for example with a third-party table, you override the mapping in Configuration/Extbase/Persistence/Classes.php. A column conferenceDate in camelCase would not be found without this configuration.