Skip to content

Instantly share code, notes, and snippets.

Created September 4, 2014 09:28
Show Gist options
  • Save anonymous/4e15c3763854a0edcbf3 to your computer and use it in GitHub Desktop.
Save anonymous/4e15c3763854a0edcbf3 to your computer and use it in GitHub Desktop.
Extbase 6.2 map pages to model
config.tx_extbase{
persistence{
enableAutomaticCacheClearing = 1
updateReferenceIndex = 0
classes{
Vendor\Extension\Domain\Model\Pages {
mapping {
tableName = pages
columns {
uid.mapOnProperty = uid
pid.mapOnProperty = pid
sorting.mapOnProperty = sorting
title.mapOnProperty = title
subtitle.mapOnProperty = subtitle
categories.mapOnProperty = categories
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment