Public Member Functions | |
__construct ($label=null, $flags=null, $val=null, $filterCriteria=null) | |
construct ($label=null, $flags=null, $val=null, $filterCriteria=null) | |
htmlId () | |
htmlClasses ($append= '', $nestingLevel=null) | |
cssSelector ($append= '', $nestingLevel=null) | |
preRead () | |
preCreate () | |
preUpdate () | |
preDelete () | |
preSearch () | |
doRead () | |
doCreate () | |
doUpdate () | |
doSearch () | |
doDelete () | |
postRead () | |
postCreate () | |
postUpdate () | |
postDelete () | |
postSearch () | |
filterCriteria ($filterCriteria=null) | |
clearValue ($filterCriteria=null) | |
dataFlags ($flags=null) | |
select () | |
getCSS ($method) | |
getJS ($method) | |
__toString () | |
inputName ($inputName=null) | |
showView ($template=null) | |
showInput ($fill) | |
showCreate () | |
showUpdate () | |
showSearch () | |
showSelect () | |
showList () | |
label ($label=null) | |
encodeURL ($method=null, array $method_params=array()) | |
Data Fields | |
$val | |
$default = NULL | |
$label | |
$view = true | |
$create = true | |
$update = true | |
$search = false | |
$list = false | |
$required = false | |
$fetch = true | |
$name | |
$parent | |
$filterCriteria = 'name == :name' | |
$tip | |
$tipInline | |
$validationRequired = 'This field is required' |
__construct($label=null,$campo=null,$inputName=null,$val=null) Si los parametros estan vacios causará que se use la clase __toString() Regresa el campo que se debe usar para generar consultas a la Fuente de datos - En SQL puede permite (SELECTS) complejos usando la asigancion " AS " inputName($prefijo=null) Regresa la str del name del input para los formularios strValorQuery() Valor como se debe usar en los Querys SQL (es decir con comillas en el caso de los strings) strQueryValueColum() Da la asiganacion de valor para los Updates de SQL HTML() Regresa el valor como debe imprimirse en HTML createInput($prefijo=null,$printval=false) Input a desplegarse cuando se desea moar un formaulario de captura del dato updateInput($prefijo=null,$printval=true) Input a desplegarse cuando se desea moar un formaulario de edicion del dato InputBuscador($prefijo) para de los campos de busqueda del buscador Where() para armar las consultas la seccion Where de las consultas SQL Label() Regresa la para poner como etiqueta antes de los inputs Header() Regresa los necesariso para inlcuir librerias JA Componente para basico definir campos de los elementos
$campo field $asField asField
__construct | ( | $ | label = null , |
$ | flags = null , |
||
$ | 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 in RadioButtonSelfId, and ComplexData.
__toString | ( | ) |
clearValue | ( | $ | filterCriteria = null | ) |
construct | ( | $ | label = null , |
$ | flags = null , |
||
$ | val = null , |
||
$ | filterCriteria = null |
||
) |
User defined constructor, called within __constructor(), Useful in child clasess to define any class specific construction code without overwritning the __construct method
cssSelector | ( | $ | append = '' , |
$ | nestingLevel = null |
||
) |
Reimplemented in ElementLink, and DeleteAction.
dataFlags | ( | $ | flags = null | ) |
Sets create, update, search, list, required and fetch flags according to the letters in $flags
ing | $flags | This ing indicates the SimplOndata where it must be used by the SimplOnelement's to do so if sended the sting must contain the first letter of any the following "uses": view, create, update, search, list, required. if the letter is included (the order desn't matter) that use will be set to true if not to false. see the help avobe to see what each of this does. |
Reimplemented in Id.
doCreate | ( | ) |
Reimplemented in ElementsContainer, Password, ComplexData, and Message.
doDelete | ( | ) |
Reimplemented in ComplexData.
doRead | ( | ) |
Reimplemented in ElementsContainer, Password, ComplexData, and Message.
doSearch | ( | ) |
Reimplemented in ElementsContainer, Password, ComplexData, and Message.
doUpdate | ( | ) |
Reimplemented in ElementsContainer, Password, ComplexData, and Message.
encodeURL | ( | $ | method = null , |
array $ | method_params = array() |
||
) |
Reimplemented in SelectAction.
filterCriteria | ( | $ | filterCriteria = null | ) |
getJS | ( | $ | method | ) |
Reimplemented in ElementsContainer, and ElementContainer.
htmlClasses | ( | $ | append = '' , |
$ | nestingLevel = null |
||
) |
Reimplemented in ElementLink, and DeleteAction.
inputName | ( | $ | inputName = null | ) |
label | ( | $ | label = null | ) |
postCreate | ( | ) |
Reimplemented in ElementsContainer.
postDelete | ( | ) |
postRead | ( | ) |
Reimplemented in ElementsContainer.
postSearch | ( | ) |
postUpdate | ( | ) |
showCreate | ( | ) |
showInput | ( | $ | fill | ) | [abstract] |
Reimplemented in ElementsContainer, ElementContainer, RadioButtonSelfId, Password, RadioButtonNumber, RadioButtonText, ElementContainerDropBox, Date, StringId, Message, Email, Hidden, Float, Integer, String, DArray, NumericId, and Text.
showSearch | ( | ) |
showSelect | ( | ) |
Reimplemented in ElementContainer.
showUpdate | ( | ) |
showView | ( | $ | template = null | ) |
Reimplemented in ElementsContainer, ElementContainer, RadioButtonSelfId, RadioButtonNumber, SimplOnLink, and PrintF.
$create = true |
Reimplemented in RadioButtonSelfId, Id, Hidden, StringId, ComplexData, Message, String, and DArray.
$fetch = true |
Reimplemented in Message, RadioButtonSelfId, ComplexData, and ElementsContainer.
$filterCriteria = 'name == :name' |
$list = false |
Reimplemented in StringId, Message, ComplexData, Password, String, ElementLink, and Text.
$parent |
Reimplemented in ComplexData, ElementsContainer, and ElementContainer.
$required = false |
Reimplemented in RadioButtonSelfId, Id, StringId, Hidden, Message, ComplexData, Password, and ElementLink.
$search = false |
$update = true |
Reimplemented in RadioButtonSelfId, Id, Hidden, StringId, ComplexData, Message, String, and DArray.
$validationRequired = 'This field is required' |
$view = true |
Reimplemented in RadioButtonSelfId, Id, Hidden, StringId, ComplexData, Password, Message, ElementLink, String, and DArray.