MIOLO20
|
Membros públicos | |
__construct ($data=NULL) | |
setData ($data) | |
insert ($id=null) | |
update ($customFieldId=null) | |
updateByData () | |
delete () | |
deleteByCustomizedId () | |
Membros públicos estáticos | |
static | getFieldValues ($identifier, $customizedId) |
static | searchFieldValues ($identifier, $searchData, $returnSql=false, $onlyCustomizedid=false, $filters=null) |
static | getMioloCustomValueByCustomized ($customizedId, $mioloCustomFieldId) |
Campos de Dados | |
const | KEY_SEPARATOR = '|' |
$id | |
$customizedId | |
$customFieldId | |
$value | |
Class to handle customized fields data.
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Soluções Livres
Copyright:
Copyright (c) 2011 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
Definido na linha 25 do ficheiro mcustomvalue.class.
__construct | ( | $data = NULL | ) |
MCustomValue constructor.
object | $data | A stdClass instance to populate this object. |
Definido na linha 58 do ficheiro mcustomvalue.class.
delete | ( | ) |
Delete a custom field value.
Definido na linha 186 do ficheiro mcustomvalue.class.
deleteByCustomizedId | ( | ) |
Delete a custom field value.
Definido na linha 344 do ficheiro mcustomvalue.class.
|
static |
Get the field values.
string | $identifier | Custom fields identifier. |
mixed | $customizedId | The primary key of the related table. |
Definido na linha 204 do ficheiro mcustomvalue.class.
|
static |
Definido na linha 350 do ficheiro mcustomvalue.class.
insert | ( | $id = null | ) |
Insert a custom field value.
Definido na linha 93 do ficheiro mcustomvalue.class.
|
static |
Search the field values through the identifier and the form data.
string | $identifier | Identifier. |
array | $searchData | Form data. |
Definido na linha 250 do ficheiro mcustomvalue.class.
setData | ( | $data | ) |
Set the object attributes.
object | $data | A stdClass instance. |
Definido na linha 80 do ficheiro mcustomvalue.class.
update | ( | $customFieldId = null | ) |
Update a custom field value.
Definido na linha 117 do ficheiro mcustomvalue.class.
updateByData | ( | ) |
Update a custom field value by the customized id and the custom field id.
Definido na linha 140 do ficheiro mcustomvalue.class.
$customFieldId |
Definido na linha 46 do ficheiro mcustomvalue.class.
$customizedId |
Definido na linha 41 do ficheiro mcustomvalue.class.
$id |
Definido na linha 36 do ficheiro mcustomvalue.class.
$value |
Definido na linha 51 do ficheiro mcustomvalue.class.
const KEY_SEPARATOR = '|' |
Separador para chaves primarias compostas. Campo miolo_custom_value.customized_id
Definido na linha 31 do ficheiro mcustomvalue.class.