Syntax

AddClass(class_object)

Description

Use this method to add an Application Class object to the JSON Array.

Parameters

Name Description
class_object Specifies the class to add to the JSON Array as an Application Class object.

Returns

None.

Example

Local PTPP_COLLECTIONS:Shortcut &oCref;
&oCref = create PTPP_COLLECTIONS:Shortcut(%Portal, "PT_CHANGE_PASSWORD_GBL");
   
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
   
&oArray.AddClass(&oCref);