Public Member Functions | |
__construct ($label, $sources, $flags=null, $searchOp=null) | |
sourcesToValues ($sources=null) | |
showView ($template=null, $sources=null) | |
showInput ($fill=false, $sources=null) | |
doRead () | |
doCreate () | |
doUpdate () | |
doSearch () | |
doDelete () | |
Data Fields | |
$create = false | |
$update = false | |
$list = false | |
$fetch = false | |
$required = false | |
$search = false | |
$parent = null | |
Protected Attributes | |
$view = true |
Definition at line 26 of file ComplexData.php.
__construct | ( | $ | label, |
$ | flags, | ||
$ | val = null , |
||
$ | filterCriteria = null |
||
) |
search operands:
>
< >=
!= ~= ^= $=
Complex operations are just simple operations jointed with ANDs and ORs, so it'd be possible to create "Operators" objects that defines those complex operations.
(name > val1) OR (name < val2)
a <= x <= b a > x || x < b
string | $label | Human readable descrition of the atribute, it's intended to apear in forms and tables |
string | $flags | VCUSRLF flags sets when the Data will be used within an element { |
mixed | $val | If sended sets the value of the data since it's creation |
string | $searchOp | Determines how the data value will be cmpared/evalueted in queries to the Data Storage |
Reimplemented from Data.
Definition at line 43 of file ComplexData.php.
doCreate | ( | ) |
Reimplemented from Data.
Definition at line 71 of file ComplexData.php.
doDelete | ( | ) |
Reimplemented from Data.
Definition at line 77 of file ComplexData.php.
doRead | ( | ) |
Reimplemented from Data.
Definition at line 69 of file ComplexData.php.
doSearch | ( | ) |
Reimplemented from Data.
Definition at line 75 of file ComplexData.php.
doUpdate | ( | ) |
Reimplemented from Data.
Definition at line 73 of file ComplexData.php.
showInput | ( | $ | fill = false , |
$ | sources = null |
||
) |
Definition at line 63 of file ComplexData.php.
showView | ( | $ | template = null , |
$ | sources = null |
||
) |
Definition at line 62 of file ComplexData.php.
sourcesToValues | ( | $ | sources = null | ) |
Definition at line 51 of file ComplexData.php.
$create = false |
Reimplemented from Data.
Definition at line 30 of file ComplexData.php.
$fetch = false |
Reimplemented from Data.
Definition at line 33 of file ComplexData.php.
$list = false |
Reimplemented from Data.
Reimplemented in ElementLink.
Definition at line 32 of file ComplexData.php.
$parent = null |
Reimplemented from Data.
Definition at line 39 of file ComplexData.php.
$required = false |
Reimplemented from Data.
Reimplemented in ElementLink.
Definition at line 34 of file ComplexData.php.
$search = false |
Reimplemented from Data.
Definition at line 35 of file ComplexData.php.
$update = false |
Reimplemented from Data.
Definition at line 31 of file ComplexData.php.
$view = true [protected] |
Reimplemented from Data.
Reimplemented in ElementLink.
Definition at line 29 of file ComplexData.php.