Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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().
  • Loading branch information...
commit f922321287f6e2cc453a17915bb8dc1637c18413 1 parent 1e56de2
Ingo Schommer chillu authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 model/ManyManyList.php
8 model/ManyManyList.php
View
@@ -189,4 +189,12 @@ function getExtraData($componentName, $itemID) {
return $result;
}
+
+ /**
+ * @return Array Map of field => fieldtype
+ */
+ function getExtraFields() {
+ return $this->extraFields;
+ }
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.