Static table row wrapper.
Dumps table item into an anonymous object for client response. Creates a copy of internal data.
Parameters:
lang
Client language. Used for adding localized item name and description.
Returns:
Anonymous object with item attributes.
inline get (key:String):Dynamic
Returns a request parameter without any additional checks. Avoid using if possible.
Parameters:
key
Parameter name.
Returns:
Parameter value. Returns null if value does not exist.
Returns a request parameter. Will try to cast the value to Bool
.
Parameters:
key
Parameter name.
Returns:
Parameter value. Returns false if value does not exist.
Returns a request parameter.
Will try to cast the value to Float
.
Parameters:
key
Parameter name.
Returns:
Parameter value. Returns 0.0 if value does not exist.
Returns a request parameter.
Will try to cast the value to Int
.
Parameters:
key
Parameter name.
Returns:
Parameter value. Returns 0 if value does not exist.
Returns a request parameter. Will try to cast the value to String
.
Parameters:
key
Parameter name.
Returns:
Parameter value. Returns null if value does not exist.