Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new window

For information on migrating to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

ZenMethod

Specifies whether this method is a Zen method.

Usage

To specify that this method is a Zen method, use the following syntax:

Method name(formal_spec)  [ ZenMethod ]
{
   //implementation
}

Details

This keyword specifies that this method is a Zen method. Zen methods can be called from the client, but are executed on the server. These methods are written in ObjectScript or Basic, but they may include embedded JavaScript that calls back to the client.

Default

If you omit this keyword, the method is not available as a Zen method.

See Also

FeedbackOpens in a new window