Skip to main content

%ZEN.Mojo.PluginDocumentation.Templates.Data.home

class %ZEN.Mojo.PluginDocumentation.Templates.Data.home extends %ZEN.Mojo.PluginDocumentation.Templates.Data.abstractTemplate

Method Inventory

Methods

classmethod %OnGetJSONContent(pWhich As %String, pKey As %String, ByRef pParms, Output pObject As %RegisteredObject, pCriteria As %RegisteredObject, pLoad As %Boolean = 0) as %Status
Server-side method to provide content to JSON providers.
pWhich is the name of the provider.
pKey is an app-defined key that is used to indicate which content is to be served.
pCriteriais an object containing search criteria. This is used for searching.
pParms is an array of additional parameters from the JSON provider. (not current used).
pObject is the object that will be served to the client in JSON format.
pLoad is true is this is called when the page is first being served. In this case, this method will be called even though there may a client-side method used to load the content.
clientmethod onGetContent(which, key, criteria) [ Language = javascript ]
Client-side content provider method. which is the name of the content to return. key is the key value associated with the request. criteria is the search criteria associated with the request.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab