Search Results for call

 

SkipCalls

Takes no parameters

 

PaaS Method

A PaaS Method may be called by any other Moxie system. In order to call a PaaS Method from MOX, the PaaS statement is used.

 

Message Handler

A Message Handler is only ever called by the Database on a Database Event. These Event Messages allow a Developer to intercept operations taking place on a per-record level and implement Event based business logic.

 

Macro

A set of instructions that can be called with parameters to run in the current scope.

 

Public Method

A Public Method may be called from any other Procedure, by the Default plug-in, or a Custom COM DLL. Each Public Method may either use specific Input Parameters, or it may accept an Input Query.

 

Remote Method

A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.

 

Function

A special type of Private Method, called a Private Function, is intended to return a single value or multiple values simultaneously.

 

[+] Sum of Field of Attached Child Records

Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.

 

[&] Count Attached Child Records

Takes 1 Parameter which is the Table name that you want to count the Attached Records in. The specified Table must be a Child of the calling Record's Table.

 

TemplateCustom

Takes one parameter, TemplateData

 

Detach

Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Delete

Takes two parameters, TableName and a boolean expression

 

TemplateName

Takes one parameter, Name

 

Right$

Takes two parameters, Source, Value

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

Similar$

Takes 2 parameters, pString1, pString2

 

JsonEncode$

Has two parameters: Source, Options

 

JsonStream$

Has one parameter, Options

 

Left$

Takes two parameters, Source, Value

 

HttpType

Takes one parameter, Type

 

Raw

Takes one parameter, the contents of which are used for the HTTP Reply Body

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

WebSafe$

Takes one parameter, Source

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

HttpStatus

Takes one parameter, Status

 

DetachWithDelete

Takes 4 parameters, TableName, Relation, OtherTableName, and a boolean expression (optional)

 

Text

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

GetFieldDefs

Has no parameters.

 

Offset

Takes 7 parameters, FieldBase, Destination, Source, OffsetVal, Operator, OpValue, IfLenFld

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

HtmlDropdown

Takes 5 parameters, Location, Mode, Title, Element, Class

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

HtmlDTable

Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign

 

HtmlForm

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

ListQueries

Takes no parameters

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Setup

Takes two parameters, Name, Value

 

LoadTableFields

Takes one parameter, TableName

 

New

Takes two parameters, TableName, IfLenFld

 

Update

Takes two parameters, TableName, IfLenFld

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

KeepUnique

Takes one parameter, FieldName

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

 

Table Action

Table Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Table.

 

[FieldList]

Parameter is a space separated list of field names to be displayed.

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

Table Report

Table Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

CFPurge

Takes one parameter, the URL to purge from CloudFlare's cache

 

Record Action

Record Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Record.

 

Record Report

Record Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.

 

[Sort] (DB Field Attribute)

Used as a Relationship Attribute, the parameter is a space separated list of field names

 

Syntax and Builtin Values, Procedures and Code Documentation

The MOX language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

 

 

Overview for PHP Developers

This hands-on experience article is written by an experienced PHP developer, and serves as an overview to help you understand the similarities and differences.

 

[SearchFieldList]

Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List.

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

[Score] 0.0 to 10

Accepts 3 parameters, first is required, 2nd and 3rd are optional.

 

CloudFlare Integration

CloudFlare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services

 

Nightly Management Utility

This utility program manages a server install with one or many Moxie.Build services running by taking care of nightly tasks via a scheduled task

 

SetKillCount

Takes one parameter, Value

 

Trigger

Takes two parameter, URL, InputQuery

 

Dir$

Takes one parameter, a path-mask

 

HttpSoap$

Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml

 

ApplyLang$

Takes one parameter

 

CFApi$

Takes three parameters Method, URL, Body

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

GoTo

Takes one parameter, a Label

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

Exit (Proc)

Takes no parameters

 

ForEach

Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

IncrKillCount

Has one parameter.

 

NewEComQuery

Takes one parameter, QueryName