Programmer's Guide > Interfaces > Application interface > constructObject method
  
constructObject method
Create a new CMSObject for the object referenced by logicalId.
constructObject(logicalId [, doc [, reserved]] )
Parameters
StringlogicalId
Logical ID for a CMS object to be referenced.
Documentdoc
[optional] NULL or document to use for context information.
booleanreserved
[optional] This parameter is reserved for future use and should always be false.
Returns
CMSObject. New object handle.
Throws
CMSException
Raised if the CMS object does not exist or an error occurs.