Latest JAS v1.1.0
144 plugins online

Code / Data

Data extends BaseData
Class
include/data.php

Probably the most important class in JAS as this is where the magic happens. It's responsible for gathering, formatting and changing data. It allows the "data" to be defined by modules which may contain reference to other modules (and thus data objects).

Class variables

fs (object)
Variable
FS object
dataformat
Variable
The data format that should be used (HTML, Form, Text, SQL)
requestVar
Variable
Which request variable to use to auto fill the data object
db
Variable
The database that should be used
action
Variable
Data action
extra
Variable
Data extra action option
moduleObject
Variable
Link to the module object
extends
Variable
List of extending module objects
field
Variable
Fields list
listOptions
Variable
List of options for the fields
reference
Variable
Module reference list
plugin
Variable
Link to the plugin object
title (boolean)
Variable
Title of the module
fieldGroups
Variable
List of field groups
referenceLevel (integer)
Variable
Level of references last used
initializingModule (boolean)
Variable
Variable for the initializing module
index
Variable
List of indexes
unique
Variable
List of unique indexes
fulltextIndex
Variable
List of full text indexes
regexp
Variable
List of regular expressions for the fields
sortOrder
Variable
List of how to sort the data set
module (boolean)
Variable
Module name
moduleClassName (boolean)
Variable
Name of the class used to initialize the module
moduleFileName (boolean)
Variable
Name of the file that contains the module definition
vmax (integer)
Variable
Total amount of values in current result set
vc (integer)
Variable
Current iteration in result set
v
Variable
Values array
r
Variable
Rights array

Comments (0)