MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MCustomValue

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
 

Descrição detalhada

Class to handle customized fields data.

Autor
Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]

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]

Desde
Creation date 2011/11/14

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)

Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 25 do ficheiro mcustomvalue.class.

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $data = NULL)

MCustomValue constructor.

Parâmetros
object$dataA stdClass instance to populate this object.

Definido na linha 58 do ficheiro mcustomvalue.class.

Documentação das funções

◆ delete()

delete ( )

Delete a custom field value.

Retorna
object Result of the removal.

Definido na linha 186 do ficheiro mcustomvalue.class.

◆ deleteByCustomizedId()

deleteByCustomizedId ( )

Delete a custom field value.

Retorna
object Whether was successfully deleted.

Definido na linha 344 do ficheiro mcustomvalue.class.

◆ getFieldValues()

static getFieldValues ( $identifier,
$customizedId )
static

Get the field values.

Parâmetros
string$identifierCustom fields identifier.
mixed$customizedIdThe primary key of the related table.
Retorna
object A stdClass instance.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 204 do ficheiro mcustomvalue.class.

◆ getMioloCustomValueByCustomized()

static getMioloCustomValueByCustomized ( $customizedId,
$mioloCustomFieldId )
static

Definido na linha 350 do ficheiro mcustomvalue.class.

◆ insert()

insert ( $id = null)

Insert a custom field value.

Retorna
object Result of the insertion.

Definido na linha 93 do ficheiro mcustomvalue.class.

◆ searchFieldValues()

static searchFieldValues ( $identifier,
$searchData,
$returnSql = false,
$onlyCustomizedid = false,
$filters = null )
static

Search the field values through the identifier and the form data.

Parâmetros
string$identifierIdentifier.
array$searchDataForm data.
Retorna
array Values saved at the database.
Exemplos
/var/docker/solisge-devel/www/solisge/miolo20/classes/ui/controls/mform.class.

Definido na linha 250 do ficheiro mcustomvalue.class.

◆ setData()

setData ( $data)

Set the object attributes.

Parâmetros
object$dataA stdClass instance.

Definido na linha 80 do ficheiro mcustomvalue.class.

◆ update()

update ( $customFieldId = null)

Update a custom field value.

Retorna
object Result of the update.

Definido na linha 117 do ficheiro mcustomvalue.class.

◆ updateByData()

updateByData ( )

Update a custom field value by the customized id and the custom field id.

Retorna
object Result of the update.

Definido na linha 140 do ficheiro mcustomvalue.class.

Documentação dos campos e atributos

◆ $customFieldId

$customFieldId

Definido na linha 46 do ficheiro mcustomvalue.class.

◆ $customizedId

$customizedId

Definido na linha 41 do ficheiro mcustomvalue.class.

◆ $id

$id

Definido na linha 36 do ficheiro mcustomvalue.class.

◆ $value

$value

Definido na linha 51 do ficheiro mcustomvalue.class.

◆ KEY_SEPARATOR

const KEY_SEPARATOR = '|'

Separador para chaves primarias compostas. Campo miolo_custom_value.customized_id

Definido na linha 31 do ficheiro mcustomvalue.class.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: