mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-04 15:18:39 +02:00
MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@104767 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c540c3e12c
commit
4246cad180
@ -1234,6 +1234,9 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a one-to-many component, as a ComponentSet.
|
* Returns a one-to-many component, as a ComponentSet.
|
||||||
|
* The return value will be cached on this object instance,
|
||||||
|
* but only when no related objects are found (to avoid unnecessary empty checks in the database).
|
||||||
|
* If related objects exist, no caching is applied.
|
||||||
*
|
*
|
||||||
* @param string $componentName Name of the component
|
* @param string $componentName Name of the component
|
||||||
* @param string $filter A filter to be inserted into the WHERE clause
|
* @param string $filter A filter to be inserted into the WHERE clause
|
||||||
@ -1347,6 +1350,10 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a many-to-many component, as a ComponentSet.
|
* Returns a many-to-many component, as a ComponentSet.
|
||||||
|
* The return value will be cached on this object instance,
|
||||||
|
* but only when no related objects are found (to avoid unnecessary empty checks in the database).
|
||||||
|
* If related objects exist, no caching is applied.
|
||||||
|
*
|
||||||
* @param string $componentName Name of the many-many component
|
* @param string $componentName Name of the many-many component
|
||||||
* @return ComponentSet The set of components
|
* @return ComponentSet The set of components
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user