Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 $O, ObjectLib
 _getCache, Myna. Table
A
 abort, Myna
 add
 addApp, Myna. Permissions
 addColumn, Myna. Table
 addError, Myna. ValidationResult
 addField, Model
 addFilter, Controller
 addForeignKey, Myna. Table
 addIndex, Myna. Table
 addKey, Myna. KeyStore
 addLayout, Controller
 addOpenObject, $application
 addPrimaryKey, Myna. Table
 addRight, Myna. Permissions
 addRights, Myna. Permissions. UserGroup
 addUser, Myna. Permissions
 addUserGroup, Myna. Permissions
 addUsers, Myna. Permissions. UserGroup
 addValidator
 addValidators
 addValue, Myna. QueryParams
 after
 alert, Myna. Swing
 appendBinary, Myna.File
 appendChild, XML
 appendFunction
 appendString, Myna.File
 appendUnique, Array
 apply, Myna. Template
 Apply, Myna. XTemplate
 applyBehavior
 applyChanges, Myna. Table
 applyTo
 attribute, XML
 attributes, XML
 avg, Array
 avgByCol, Myna. DataSet
B
 backgroundRefresh, Myna. Cache
 base64ToByteArray, Myna. JavaUtils
 beanToObject
 before
 begin, Myna. Profiler
 belongsTo
 bind, Function
 build, Myna. Swing
 byteArrayToBase64, Myna. JavaUtils
 byteArrayToHex, Myna. JavaUtils
if (typeof $O = = "undefined")
wraps an object with the ObjectLib functions.
Myna.Table.prototype._getCache = function(type,
f)
(private) internal function for caching metadata
Myna.abort=function Myna_abort(label,
value)
Halts JavaScript execution, optionally showing a message or dumping an object
Date.prototype.add = function(interval,
value)
Provides a convenient method of performing basic date arithmetic.
Myna.ThreadGroup.prototype.add=function(func,
args,
priority)
creates a thread, adds it to this group, and returns the generated thread
addApp:function(options)
Adds/updates an application, and returns an instance of Myna.Permissions.App.
Myna.Table.prototype.addColumn = function(options)
Adds a column to an existing table
Myna.ValidationResult.prototype.addError=function(message,
property)
Adds an error to this result and sets success to false
addField:function addField(def)
adds a field to this Model’s beanClass
Controller.prototype.addFilter = function addFilter(filter,
options)
Adds an action filter
Myna.Table.prototype.addForeignKey = function(options)
Adds a foreign key to this table
Myna.Table.prototype.addIndex = function(options)
Adds an index to an existing table
Myna.KeyStore.prototype.addKey = function(status)
generate a new key in this keystore
Controller.prototype.addLayout = function addLayout(layout)
adds a layout layer to this this request
addOpenObject:function(obj)
Add an object to $application to be closed at the end of the thread.
Myna.Table.prototype.addPrimaryKey = function(options)
Adds a primary key to this table
addRight:function(options)
adds a new right, and returns an instance of Myna.Permissions.Right
Myna.Permissions.UserGroup.prototype.addRights = function(right_id_list)
adds one or more rights to this group, if not already added
addUser:function(options)
adds a new user, and returns an instance of Myna.Permissions.User
addUserGroup:function(options)
adds a new user group, and returns an instance of Myna.UserGroup
Myna.Permissions.UserGroup.prototype.addUsers = function(user_id_list)
adds one or more users to this group, if not already added
adds a validation function to this manager’s validation object
addValidator:function addValidator(colname,
validator,
options)
adds a validation function to this Model’s validation object
Myna.Validation.prototype.addValidator=function addValidator(property,
validator,
options)
adds a validation function to this manager
add multiple validators to this manager’s validation object
Myna.Validation.prototype.addValidators=function addValidators(validator_config)
add multiple validators
addValue:function(value,
type,
isNull)
adds an sql parameter value to to QueryParams and returns a paceholder.
Function.prototype.after = function(func)
returns a chain function out of this function and another function, new function second
Object.prototype.after=function(functionName,
functionObj)
Appends supplied function to the event chain of this object.
ObjectLib.after=function(obj,
functionName,
functionObj)
Appends supplied function to the event chain of an object.
String.prototype.after=function(count,
caseSensitive)
returns all the characters after the first count characters
alert:function(text,
title,
type)
Creates an alert dialog
Myna.File.prototype.appendBinary = function(byteArray)
appends a strings to this file
Adds child as a new child of the element, after all other children.
alias for after
alias for after
Myna.File.prototype.appendString = function(string)
appends a strings to this file
Array.prototype.appendUnique=function(val,
looseCheck,
accessor)
adds a new element to this array, if that element is not already in this array.
Merges this template with the supplied data.
Merges this template with the supplied data.
Controller.prototype.applyBehavior = function applyBehavior(name,
options)
loads a behavior and applies it to this object
applyBehavior:function applyBehavior(name)
loads a behavior and applies it to this object
Myna.Table.prototype.applyChanges = function()
Applies the contents of Table.sql to this Table’s datasource.
Object.prototype.applyTo=function(target,
shouldOverwrite)
Copies all properties (including Function properties) of this object to another
ObjectLib.applyTo=function(obj,
target,
shouldOverwrite)
Copies all properties (including Function properties and “hidden”) of an object to another
Returns the attribute of with the requested name.
Returns the attributes of this element.
Array.prototype.avg = function(accessor)
returns an average of the array.
DataSet.prototype.avgByCol = function(column,
accessor)
returns an average of the column.
Myna.Cache.prototype.backgroundRefresh = function CacheBackgroundRefresh(args)
refresh this cache in a background thread.
Myna.JavaUtils.base64ToByteArray = function(string)
returns a Java byte[] from a Base64 string
Myna.beanToObject=function Myna_beanToObject(bean)
Attempts to convert a JavaBean in to JavaScript object
Myna.JavaUtils.beanToObject=function(bean)
Attempts to convert a JavaBean in to JavaScript object
Function.prototype.before = function(func)
returns a chain function out of this function and another function, new function first
Object.prototype.before=function(functionName,
functionObj)
Prepends supplied function to the event chain of this object.
ObjectLib.before=function(obj,
functionName,
functionObj)
Prepends supplied function to the event chain of an object.
String.prototype.before=function(count)
returns all the characters before the last count characters
Myna.Profiler.prototype.begin = function(label,
time)
Sets begin point for a given label.
Sets a “belongsTo” relationship with another table.
belongsTo:function belongsTo(name)
Sets a “belongsTo” relationship with another model.
Function.prototype.bind = Function.prototype.bind ||function(o)
returns a version of this function bound to a specific scope object
build:function(config)
Creates Swing component from an object config
Myna.JavaUtils.byteArrayToBase64 = function(bytes,
urlSafe)
returns Base64 string representation of a Java byte[]
Myna.JavaUtils.byteArrayToHex = function(bytes)
returns HEX string representation of a Java byte[]