Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

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

Feedback