|
APGen Developer's Guide |
|
See Also: |
In an APG script, these intrinsic objects are available. They expose functionality to make content generation powerful and easy. These are the APGen equivalent to ASP intrinsic objects, including the Request, Response, Session, Application, Server, and ObjectContext objects.
| Name | Description |
|---|---|
| APGen | The APGen
object returns the script's parent APGen object. It acts as a common parent object for one or more APGScript objects. It
can be used to share global settings between APG scripts, similar to
the Application object in ASP. |
| Output | The Output object encapsulates an output stream or file. Generated content is sent through the Output object, to this stream or file. |
| Script | The Script object encapsulates the currently running APG script. |
| Log | The Log object encapsulates logging functionality, including logging to a file, a stream, or the Windows NT Event Log. |
| Util | The Util object provides utility functions for APG scripts. |
| ObjectContext | The ObjectContext object provides access to the MTS or COM+ ObjectContext that the APG script may be running in. This is useful for accessing ASP intrinsic objects when the APG script is run from an ASP page. |
These enums are part of the APG script namespace. No special includes or constants are required to use these named values in an APG script.
| Enum | Description |
|---|---|
| ApgLogFlags | OR-able flags for the Log.Flags property. |
| ApgLogSeverityEnum | Values to indicate the severity of an error or a log item. Used in Log.Write()and APGError.Severity. |
| ApgScriptWaitEnum | Values for Script.Wait(). |
| ApgStatusDlgEnum | Values to indicate how status dialog boxes should be displayed. Used by the APGen.StatusDlg property. |
| OpenFileDialogFlags | OR-able flags for Util.OpenFileDialog().
|