Skip to content

Commit

Permalink
setAt -> set
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard93 committed Jan 30, 2017
1 parent c5a2419 commit 935418a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Form/Info.cls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Get form metadata at runtime
Equal to generateMetadata method from Form.Generators class,
but uses direct global references instead of object access
For results see:
<example>w {}.$fromJSON(##class(Form.Info).getFormMetadataRuntime("Form.Test.Simple")).$toJSONFormat()</example>]]></Description>
<example>w ##class(Form.Info).getFormMetadata("Form.Test.Simple").$toJSONFormat()</example>]]></Description>
<ClassMethod>1</ClassMethod>
<FormalSpec>className:%String=""</FormalSpec>
<ReturnType>%Object</ReturnType>
Expand All @@ -109,7 +109,7 @@ For results see:
set displayName = ##class(Form.Property).getPropertyParam(className, property, $$$propDisplayNameParam)
if ((internal '= $$$YES) && (displayName'="")) {
set propertyMetaData = ##class(Form.Property).propertyToMetadata(className, property)
do metadata.fields.$setAt($$$comMemberKeyGet(className, $$$cCLASSproperty, property, $$$cPROPsequencenumber), propertyMetaData)
do metadata.fields.$set($$$comMemberKeyGet(className, $$$cCLASSproperty, property, $$$cPROPsequencenumber), propertyMetaData)
}
set property=$$$comMemberNext(className, $$$cCLASSproperty, property)
}
Expand Down

0 comments on commit 935418a

Please sign in to comment.