Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Documentation (from r104769)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112380 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 5dc8b972171ea723b313671992021de2fa76d637 1 parent 0b6feff
@chillu chillu authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  core/model/DataObject.php
View
3  core/model/DataObject.php
@@ -1391,6 +1391,9 @@ public function getRemoteJoinField($component, $type = 'has_many') {
/**
* Sets the component of a relationship.
+ * This should only need to be called internally,
+ * and is mainly due to the caching logic in {@link getComponents()}
+ * and {@link getManyManyComponents()}.
*
* @param string $componentName Name of the component
* @param DataObject|ComponentSet $componentValue Value of the component
Please sign in to comment.
Something went wrong with that request. Please try again.