diff options
author | Yuri Sizov <11782833+YuriSizov@users.noreply.github.com> | 2022-08-12 15:29:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 15:29:58 +0300 |
commit | 65a1d86c4f4b893c6e72c5434c22a5ab7dcbe68b (patch) | |
tree | c3616eb558ec9af0434281f8054dd2b54206201f /doc/classes/Resource.xml | |
parent | 67d40155206e7c15575ec9bd5b609075784ed746 (diff) | |
parent | 1f72f48361e8a67a9473c99a27565fa6133c4b50 (diff) |
Merge pull request #64196 from asmaloney/doc-params-3
[doc] Use "param" instead of "code" to refer to parameters #3
Diffstat (limited to 'doc/classes/Resource.xml')
-rw-r--r-- | doc/classes/Resource.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Resource.xml b/doc/classes/Resource.xml index b5a2179463..3adf10da2d 100644 --- a/doc/classes/Resource.xml +++ b/doc/classes/Resource.xml @@ -22,8 +22,8 @@ <param index="0" name="subresources" type="bool" default="false" /> <description> Duplicates the resource, returning a new resource with the exported members copied. [b]Note:[/b] To duplicate the resource the constructor is called without arguments. This method will error when the constructor doesn't have default values. - By default, sub-resources are shared between resource copies for efficiency. This can be changed by passing [code]true[/code] to the [code]subresources[/code] argument which will copy the subresources. - [b]Note:[/b] If [code]subresources[/code] is [code]true[/code], this method will only perform a shallow copy. Nested resources within subresources will not be duplicated and will still be shared. + By default, sub-resources are shared between resource copies for efficiency. This can be changed by passing [code]true[/code] to the [param subresources] argument which will copy the subresources. + [b]Note:[/b] If [param subresources] is [code]true[/code], this method will only perform a shallow copy. Nested resources within subresources will not be duplicated and will still be shared. [b]Note:[/b] When duplicating a resource, only [code]export[/code]ed properties are copied. Other properties will be set to their default value in the new resource. </description> </method> |