TABCOIMOVEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = []
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_INTSYS_FISCAL
- db_table = 'TABCOIMOV'
- pk_field = 'EMPRE_IMOV'
- sanitize = []
- security = []
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = []
Properties
- $BAIRR_IMOV : mixed
- $CAEPF_IMOV : mixed
- $CDITR_IMOV : mixed
- $CODIG_IMOV : mixed
- $COMPL_IMOV : mixed
- $CPAIS_IMOV : mixed
- $EMPRE_IMOV : mixed
- $ENDER_IMOV : mixed
- $ESTAD_IMOV : mixed
- $EXPLO_IMOV : mixed
- $MIBGE_IMOV : mixed
- $MOEDA_IMOV : mixed
- $NOCEP_IMOV : mixed
- $NOIES_IMOV : mixed
- $NOMEI_IMOV : mixed
- $NUMER_IMOV : mixed
- $PARTI_IMOV : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getBAIRR_IMOV() : mixed
- Get the value of BAIRR_IMOV
- getCAEPF_IMOV() : mixed
- Get the value of CAEPF_IMOV
- getCDITR_IMOV() : mixed
- Get the value of CDITR_IMOV
- getCODIG_IMOV() : mixed
- Get the value of CODIG_IMOV
- getCOMPL_IMOV() : mixed
- Get the value of COMPL_IMOV
- getConst() : mixed
- getConstObj() : mixed
- getCPAIS_IMOV() : mixed
- Get the value of CPAIS_IMOV
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getEMPRE_IMOV() : mixed
- Get the value of EMPRE_IMOV
- getENDER_IMOV() : mixed
- Get the value of ENDER_IMOV
- getESTAD_IMOV() : mixed
- Get the value of ESTAD_IMOV
- getEXPLO_IMOV() : mixed
- Get the value of EXPLO_IMOV
- getMIBGE_IMOV() : mixed
- Get the value of MIBGE_IMOV
- getMOEDA_IMOV() : mixed
- Get the value of MOEDA_IMOV
- getNOCEP_IMOV() : mixed
- Get the value of NOCEP_IMOV
- getNOIES_IMOV() : mixed
- Get the value of NOIES_IMOV
- getNOMEI_IMOV() : mixed
- Get the value of NOMEI_IMOV
- getNUMER_IMOV() : mixed
- Get the value of NUMER_IMOV
- getPARTI_IMOV() : mixed
- Get the value of PARTI_IMOV
- getTable() : mixed
- hasField() : mixed
- insert() : null|Entity
- insert_or_select() : null|Entity
- Funcao que insere ou seleciona se existe
- insert_or_update() : array<string|int, mixed>
- Funcao que insere ou atualiza uma entidade no banco de dados
- securityDelete() : bool
- securityInsert() : bool
- securitySelect() : array<string|int, mixed>
- securityUpdate() : bool
- setBAIRR_IMOV() : self
- Set the value of BAIRR_IMOV
- setCAEPF_IMOV() : self
- Set the value of CAEPF_IMOV
- setCDITR_IMOV() : self
- Set the value of CDITR_IMOV
- setCODIG_IMOV() : self
- Set the value of CODIG_IMOV
- setCOMPL_IMOV() : self
- Set the value of COMPL_IMOV
- setCPAIS_IMOV() : self
- Set the value of CPAIS_IMOV
- setEMPRE_IMOV() : self
- Set the value of EMPRE_IMOV
- setENDER_IMOV() : self
- Set the value of ENDER_IMOV
- setESTAD_IMOV() : self
- Set the value of ESTAD_IMOV
- setEXPLO_IMOV() : self
- Set the value of EXPLO_IMOV
- setMIBGE_IMOV() : self
- Set the value of MIBGE_IMOV
- setMOEDA_IMOV() : self
- Set the value of MOEDA_IMOV
- setNOCEP_IMOV() : self
- Set the value of NOCEP_IMOV
- setNOIES_IMOV() : self
- Set the value of NOIES_IMOV
- setNOMEI_IMOV() : self
- Set the value of NOMEI_IMOV
- setNUMER_IMOV() : self
- Set the value of NUMER_IMOV
- setPARTI_IMOV() : self
- Set the value of PARTI_IMOV
- update() : mixed
- A função update pode atualizar uma Entity já instanciada, desde que a chave primária esteja setada, ou pode atualizar uma Entity vazia informando o valor da chave primária no segundo parâmetro (pk_value)
- validateFields() : bool
- where() : Collection
- Rudimentary ORM functions
Constants
auditlog
Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
public
mixed
auditlog
= []
const_values
public
mixed
const_values
= []
database
public
mixed
database
= \config\Config::DB_INTSYS_FISCAL
db_table
public
mixed
db_table
= 'TABCOIMOV'
pk_field
public
mixed
pk_field
= 'EMPRE_IMOV'
sanitize
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= []
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= []
Properties
$BAIRR_IMOV
private
mixed
$BAIRR_IMOV
$CAEPF_IMOV
private
mixed
$CAEPF_IMOV
$CDITR_IMOV
private
mixed
$CDITR_IMOV
$CODIG_IMOV
private
mixed
$CODIG_IMOV
$COMPL_IMOV
private
mixed
$COMPL_IMOV
$CPAIS_IMOV
private
mixed
$CPAIS_IMOV
$EMPRE_IMOV
private
mixed
$EMPRE_IMOV
$ENDER_IMOV
private
mixed
$ENDER_IMOV
$ESTAD_IMOV
private
mixed
$ESTAD_IMOV
$EXPLO_IMOV
private
mixed
$EXPLO_IMOV
$MIBGE_IMOV
private
mixed
$MIBGE_IMOV
$MOEDA_IMOV
private
mixed
$MOEDA_IMOV
$NOCEP_IMOV
private
mixed
$NOCEP_IMOV
$NOIES_IMOV
private
mixed
$NOIES_IMOV
$NOMEI_IMOV
private
mixed
$NOMEI_IMOV
$NUMER_IMOV
private
mixed
$NUMER_IMOV
$PARTI_IMOV
private
mixed
$PARTI_IMOV
Methods
__construct()
public
__construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
- $values : array<string|int, mixed> = []
delete()
public
delete(mixed $motivo) : mixed
Parameters
- $motivo : mixed
delete_where()
public
static delete_where(mixed $motivo[, mixed $where = [] ]) : mixed
Parameters
- $motivo : mixed
- $where : mixed = []
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getBAIRR_IMOV()
Get the value of BAIRR_IMOV
public
getBAIRR_IMOV() : mixed
getCAEPF_IMOV()
Get the value of CAEPF_IMOV
public
getCAEPF_IMOV() : mixed
getCDITR_IMOV()
Get the value of CDITR_IMOV
public
getCDITR_IMOV() : mixed
getCODIG_IMOV()
Get the value of CODIG_IMOV
public
getCODIG_IMOV() : mixed
getCOMPL_IMOV()
Get the value of COMPL_IMOV
public
getCOMPL_IMOV() : mixed
getConst()
public
static getConst(string $field[, mixed $const_value = null ]) : mixed
Parameters
- $field : string
- $const_value : mixed = null
getConstObj()
public
static getConstObj(string $field[, mixed $const_value = null ]) : mixed
Parameters
- $field : string
- $const_value : mixed = null
getCPAIS_IMOV()
Get the value of CPAIS_IMOV
public
getCPAIS_IMOV() : mixed
getDatabase()
public
getDatabase() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getEMPRE_IMOV()
Get the value of EMPRE_IMOV
public
getEMPRE_IMOV() : mixed
getENDER_IMOV()
Get the value of ENDER_IMOV
public
getENDER_IMOV() : mixed
getESTAD_IMOV()
Get the value of ESTAD_IMOV
public
getESTAD_IMOV() : mixed
getEXPLO_IMOV()
Get the value of EXPLO_IMOV
public
getEXPLO_IMOV() : mixed
getMIBGE_IMOV()
Get the value of MIBGE_IMOV
public
getMIBGE_IMOV() : mixed
getMOEDA_IMOV()
Get the value of MOEDA_IMOV
public
getMOEDA_IMOV() : mixed
getNOCEP_IMOV()
Get the value of NOCEP_IMOV
public
getNOCEP_IMOV() : mixed
getNOIES_IMOV()
Get the value of NOIES_IMOV
public
getNOIES_IMOV() : mixed
getNOMEI_IMOV()
Get the value of NOMEI_IMOV
public
getNOMEI_IMOV() : mixed
getNUMER_IMOV()
Get the value of NUMER_IMOV
public
getNUMER_IMOV() : mixed
getPARTI_IMOV()
Get the value of PARTI_IMOV
public
getPARTI_IMOV() : mixed
getTable()
public
getTable() : mixed
hasField()
public
static hasField(mixed $field) : mixed
Parameters
- $field : mixed
insert()
public
insert() : null|Entity
Return values
null|Entityinsert_or_select()
Funcao que insere ou seleciona se existe
public
insert_or_select([mixed $where = [] ]) : null|Entity
Parameters
- $where : mixed = []
Return values
null|Entityinsert_or_update()
Funcao que insere ou atualiza uma entidade no banco de dados
public
insert_or_update([mixed $where = [] ][, mixed $update_fields = ['*'] ]) : array<string|int, mixed>
Parameters
- $where : mixed = []
- $update_fields : mixed = ['*']
Return values
array<string|int, mixed>securityDelete()
public
securityDelete(mixed $table, mixed $where) : bool
Parameters
- $table : mixed
- $where : mixed
Return values
boolsecurityInsert()
public
securityInsert(mixed $fields) : bool
Parameters
- $fields : mixed
Return values
bool —return 'true' if the security function didn't find any security issue and 'false' otherwise
securitySelect()
public
securitySelect(mixed $table, mixed $fields, mixed $where) : array<string|int, mixed>
Parameters
- $table : mixed
- $fields : mixed
- $where : mixed
Return values
array<string|int, mixed> —return an array with information to be appended in the SQL select
securityUpdate()
public
securityUpdate(mixed $fields, mixed $where) : bool
Parameters
- $fields : mixed
- $where : mixed
Return values
bool —return 'true' if the security function didn't find any security issue and 'false' otherwise
setBAIRR_IMOV()
Set the value of BAIRR_IMOV
public
setBAIRR_IMOV(mixed $BAIRR_IMOV) : self
Parameters
- $BAIRR_IMOV : mixed
Return values
selfsetCAEPF_IMOV()
Set the value of CAEPF_IMOV
public
setCAEPF_IMOV(mixed $CAEPF_IMOV) : self
Parameters
- $CAEPF_IMOV : mixed
Return values
selfsetCDITR_IMOV()
Set the value of CDITR_IMOV
public
setCDITR_IMOV(mixed $CDITR_IMOV) : self
Parameters
- $CDITR_IMOV : mixed
Return values
selfsetCODIG_IMOV()
Set the value of CODIG_IMOV
public
setCODIG_IMOV(mixed $CODIG_IMOV) : self
Parameters
- $CODIG_IMOV : mixed
Return values
selfsetCOMPL_IMOV()
Set the value of COMPL_IMOV
public
setCOMPL_IMOV(mixed $COMPL_IMOV) : self
Parameters
- $COMPL_IMOV : mixed
Return values
selfsetCPAIS_IMOV()
Set the value of CPAIS_IMOV
public
setCPAIS_IMOV(mixed $CPAIS_IMOV) : self
Parameters
- $CPAIS_IMOV : mixed
Return values
selfsetEMPRE_IMOV()
Set the value of EMPRE_IMOV
public
setEMPRE_IMOV(mixed $EMPRE_IMOV) : self
Parameters
- $EMPRE_IMOV : mixed
Return values
selfsetENDER_IMOV()
Set the value of ENDER_IMOV
public
setENDER_IMOV(mixed $ENDER_IMOV) : self
Parameters
- $ENDER_IMOV : mixed
Return values
selfsetESTAD_IMOV()
Set the value of ESTAD_IMOV
public
setESTAD_IMOV(mixed $ESTAD_IMOV) : self
Parameters
- $ESTAD_IMOV : mixed
Return values
selfsetEXPLO_IMOV()
Set the value of EXPLO_IMOV
public
setEXPLO_IMOV(mixed $EXPLO_IMOV) : self
Parameters
- $EXPLO_IMOV : mixed
Return values
selfsetMIBGE_IMOV()
Set the value of MIBGE_IMOV
public
setMIBGE_IMOV(mixed $MIBGE_IMOV) : self
Parameters
- $MIBGE_IMOV : mixed
Return values
selfsetMOEDA_IMOV()
Set the value of MOEDA_IMOV
public
setMOEDA_IMOV(mixed $MOEDA_IMOV) : self
Parameters
- $MOEDA_IMOV : mixed
Return values
selfsetNOCEP_IMOV()
Set the value of NOCEP_IMOV
public
setNOCEP_IMOV(mixed $NOCEP_IMOV) : self
Parameters
- $NOCEP_IMOV : mixed
Return values
selfsetNOIES_IMOV()
Set the value of NOIES_IMOV
public
setNOIES_IMOV(mixed $NOIES_IMOV) : self
Parameters
- $NOIES_IMOV : mixed
Return values
selfsetNOMEI_IMOV()
Set the value of NOMEI_IMOV
public
setNOMEI_IMOV(mixed $NOMEI_IMOV) : self
Parameters
- $NOMEI_IMOV : mixed
Return values
selfsetNUMER_IMOV()
Set the value of NUMER_IMOV
public
setNUMER_IMOV(mixed $NUMER_IMOV) : self
Parameters
- $NUMER_IMOV : mixed
Return values
selfsetPARTI_IMOV()
Set the value of PARTI_IMOV
public
setPARTI_IMOV(mixed $PARTI_IMOV) : self
Parameters
- $PARTI_IMOV : mixed
Return values
selfupdate()
A função update pode atualizar uma Entity já instanciada, desde que a chave primária esteja setada, ou pode atualizar uma Entity vazia informando o valor da chave primária no segundo parâmetro (pk_value)
public
update(array<string|int, mixed> $values[, mixed $pk_value = null ]) : mixed
Parameters
- $values : array<string|int, mixed>
- $pk_value : mixed = null
validateFields()
public
validateFields([array<string|int, mixed> $fields = [] ]) : bool
Parameters
- $fields : array<string|int, mixed> = []
Return values
boolwhere()
Rudimentary ORM functions
public
static where([mixed $where = [] ][, mixed $select = '*' ]) : Collection
Parameters
- $where : mixed = []
- $select : mixed = '*'