TSUI.Data
Extends: None
Exported: Yes

Associated source files:

Description

Defines the structure for data adapters. Data adapters convert raw input data to JavaScript objects or vice-versa.
I: Specifies the type of the input data.
O: Specifies the type of the output data.

Public Methods

I2O(input: I): O
Converts raw data to JavaScript object data.
  • input: I - The raw data.
  • Returns: O - The JavaScript object data.
O2I(output: O): I
Converts JavaScript object data to raw data.
  • output: O -
  • Returns: I - The raw data.


Last edited Aug 29, 2013 at 9:56 PM by EdwardNutting, version 1

Comments

No comments yet.