ManyManyList->getExtraFields()

Needed for introspection for many_many relationships
without knowing the name of the relationship,
meaning we can't use DataObject->many_many_extraFields().
This commit is contained in:
Ingo Schommer 2013-01-10 22:21:08 +01:00
parent 1e56de22d2
commit f922321287

View File

@ -189,4 +189,12 @@ class ManyManyList extends RelationList {
return $result;
}
/**
* @return Array Map of field => fieldtype
*/
function getExtraFields() {
return $this->extraFields;
}
}