Agile Toolkit  4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
Field Class Reference
Inheritance diagram for Field:
AbstractModel AbstractObject Field_Deleted Field_Expression Field_Reference

Public Member Functions

 setterGetter ($type, $value=undefined)
 set ($value=null)
 get ($type=undefined)
 __toString ()
 type ($t=undefined)
 caption ($t=undefined)
 group ($t=undefined)
 readonly ($t=undefined)
 mandatory ($t=undefined)
 required ($t=undefined)
 editable ($t=undefined)
 allowHTML ($t=undefined)
 searchable ($t=undefined)
 sortable ($t=undefined)
 display ($t=undefined)
 actual ($t=undefined)
 system ($t=undefined)
 hidden ($t=undefined)
 length ($t=undefined)
 defaultValue ($t=undefined)
 visible ($t=undefined)
 listData ($t=undefined)
 setModel ($t=undefined)
 getModel ()
 setValueList ($t)
 enum ($t)
 from ($m)
 updateSelectQuery ($select)
 updateInsertQuery ($insert)
 updateModifyQuery ($modify)
 getBooleanValue ($value)
 getSQL ()
 getExpr ()
 refModel ($m)
 datatype ($v=undefined)
 calculated ($v=undefined)

Data Fields

 $type = 'string'
 $readonly = false
 $system = false
 $hidden = false
 $editable = true
 $visible = true
 $display = null
 $caption = null
 $group = null
 $allowHTML = false
 $sortable = false
 $searchable = false
 $mandatory = false
 $defaultValue = null
 $auto_track_element = true
 $listData = null
 $theModel = null
 $relation = null
 $actual_field = null

Member Function Documentation

Reimplemented from AbstractObject.

actual ( t = undefined)
allowHTML ( t = undefined)
calculated ( v = undefined)

Reimplemented in Field_Expression.

caption ( t = undefined)
datatype ( v = undefined)
defaultValue ( t = undefined)
display ( t = undefined)
editable ( t = undefined)

Reimplemented in Field_Expression.

enum ( t)
from ( m)

Binds the field to a realtion (returned by join() function)

get ( type = undefined)
getBooleanValue ( value)

Converts true/false into boolean representation according to the "enum"

getExpr ( )

Returns field of this model

Reimplemented in Field_Expression.

getModel ( )

Reimplemented from AbstractObject.

Reimplemented in Field_Reference.

getSQL ( )

Get value of this field formatted for SQL. Redefine if you need to convert

group ( t = undefined)
hidden ( t = undefined)
length ( t = undefined)
listData ( t = undefined)
mandatory ( t = undefined)
readonly ( t = undefined)
refModel ( m)

use hasOne instead

required ( t = undefined)
searchable ( t = undefined)
set ( value = null)

Reimplemented in Field_Expression.

setModel ( t = undefined)

Reimplemented from AbstractObject.

setterGetter ( type,
value = undefined 
)
setValueList ( t)
sortable ( t = undefined)

Reimplemented in Field_Reference.

system ( t = undefined)
type ( t = undefined)
updateInsertQuery ( insert)

Modify insert query to set value of this field

Reimplemented in Field_Expression.

updateModifyQuery ( modify)

Modify insert query to set value of this field

Reimplemented in Field_Expression.

updateSelectQuery ( select)

Modifies specified query to include this particular field

Reimplemented in Field_Expression.

visible ( t = undefined)

Field Documentation

$actual_field = null
$allowHTML = false
$auto_track_element = true

When this object is added, owner->elements[$this->short_name] will be == $this;

Reimplemented from AbstractObject.

$caption = null
$defaultValue = null
$display = null
$editable = true
$group = null
$hidden = false
$listData = null
$mandatory = false
$readonly = false
$relation = null
$searchable = false
$sortable = false
$system = false
$theModel = null
$type = 'string'
$visible = true

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations