ngViewModel Boolean field (based on ngFieldDef BOOL).
new ngFieldDef_Bool ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Integer field (based on ngFieldDef INTEGER).
new ngFieldDef_Integer ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Float field (based on ngFieldDef FLOAT).
new ngFieldDef_Float ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Signed byte field (based on ngFieldDef SBYTE).
new ngFieldDef_SByte ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Byte field (based on ngFieldDef BYTE).
new ngFieldDef_Byte ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Short field (based on ngFieldDef SHORT).
new ngFieldDef_Short ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Unsigned short field (based on ngFieldDef USHORT).
new ngFieldDef_UShort ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Long field (based on ngFieldDef LONG).
new ngFieldDef_Long ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Unsigned long field (based on ngFieldDef ULONG).
new ngFieldDef_ULong ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Decimal field (based on ngFieldDef DECIMAL).
new ngFieldDef_Decimal ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel String field (based on ngFieldDef NVARCHAR).
new ngFieldDef_String ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Timestamp field (based on ngFieldDef TIMESTAMP).
new ngFieldDef_Timestamp ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Date and time field (based on ngFieldDef DATETIME).
new ngFieldDef_DateTime ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Date field (based on ngFieldDef DATE).
new ngFieldDef_Date ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Time field (based on ngFieldDef TIME).
new ngFieldDef_Time ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel UTC timestamp field (based on ngFieldDef UTCTIMESTAMP).
new ngFieldDef_UTCTimestamp ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel UTC date and time field (based on ngFieldDef UTCDATETIME).
new ngFieldDef_UTCDateTime ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel UTC date field (based on ngFieldDef UTCDATE).
new ngFieldDef_UTCDate ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel UTC time field (based on ngFieldDef UTCTIME).
new ngFieldDef_UTCTime ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Array field (based on ngFieldDef ARRAY).
new ngFieldDef_Array ([string id =’’, object attrs={}, object valfielddef=null])
id | field id |
attrs | field attributes |
valfielddef | ngFieldDef instance used for array value type casting and validation, null if validation is not required |
ngViewModel Object field (based on ngFieldDef OBJECT).
new ngFieldDef_Object ([string id =’’, object attrs={}, object propsfielddefs=null])
id | field id |
attrs | field attributes |
propsfielddefs | associative array of ngFieldDef instances used for object properties value type casting and validation, null if validation is not required |
ngViewModel WWW string field (based on ngFieldDef NVARCHAR).
new ngFieldDef_WWW ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Email string field (based on ngFieldDef NVARCHAR).
new ngFieldDef_Email ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel IP4 string field (based on ngFieldDef NVARCHAR).
new ngFieldDef_IP4 ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel IP6 string field (based on ngFieldDef NVARCHAR).
new ngFieldDef_IP6 ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |
ngViewModel Currency field (based on ngFieldDef DECIMAL).
new ngFieldDef_Currency ([string id =’’, string units=’’, object attrs={}, string fieldtype = ‘DECIMAL’])
id | field id |
units | currency unit |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel Distance field (based on ngFieldDef FLOAT).
new ngFieldDef_Distance ([string id =’’, object attrs={}, string fieldtype = ‘FLOAT’])
id | field id |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel Area field (based on ngFieldDef FLOAT).
new ngFieldDef_Area ([string id =’’, object attrs={}, string fieldtype = ‘FLOAT’])
id | field id |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel SIUnits field (based on ngFieldDef FLOAT).
new ngFieldDef_SIUnits ([string id =’’, string units=’’, object attrs={}, array allowedprefixes=undefined, string fieldtype = ‘FLOAT’])
id | field id |
units | field units |
attrs | field attributes |
allowedprefixes | allowed SI prefixes |
fieldtype | optional base data type |
ngViewModel Minutes field (based on ngFieldDef FLOAT).
new ngFieldDef_Minutes ([string id =’’, object attrs={}, string fieldtype = ‘INTEGER’])
id | field id |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel Seconds field (based on ngFieldDef FLOAT).
new ngFieldDef_Seconds ([string id =’’, object attrs={}, string fieldtype = ‘INTEGER’])
id | field id |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel Bytes field (based on ngFieldDef FLOAT).
new ngFieldDef_Bytes ([string id =’’, object attrs={}, string fieldtype = ‘INTEGER’])
id | field id |
attrs | field attributes |
fieldtype | optional base data type |
ngViewModel Phone field (based on ngFieldDef NVARCHAR).
new ngFieldDef_Phone ([string id =’’, object attrs={}])
id | field id |
attrs | field attributes |