Documentation

TABGREMPREntity 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  = 'TABGREMPR'
pk_field  = 'CODIG_EMPR'
sanitize  = []
security  = ['select' => 'src\models\TABGREMPRSecurity::securitySelect']
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
tracking  = true
validations  = []

Properties

$ALIME_EMPR  : mixed
$APUCB_EMPR  : mixed
$ARRED_EMPR  : mixed
$BAIRR_EMPR  : mixed
$CAPIT_EMPR  : mixed
$CATEG_EMPR  : mixed
$CDATI_EMPR  : mixed
$CDCAG_EMPR  : mixed
$CDFPA_EMPR  : mixed
$CDGPS_EMPR  : mixed
$CDLOC_EMPR  : mixed
$CDTER_EMPR  : mixed
$CODIG_EMPR  : mixed
$COMPL_EMPR  : mixed
$DTBAS_EMPR  : mixed
$DTREG_EMPR  : mixed
$EMAIL_EMPR  : mixed
$ENDER_EMPR  : mixed
$ESTAB_EMPR  : mixed
$FECCB_EMPR  : mixed
$FIMAT_EMPR  : mixed
$HORAR_EMPR  : mixed
$INIAT_EMPR  : mixed
$JTACO_EMPR  : mixed
$LANCB_EMPR  : mixed
$LCCTB_EMPR  : mixed
$LOCAL_EMPR  : mixed
$MATRI_EMPR  : mixed
$MUNIC_EMPR  : mixed
$NIVCC_EMPR  : mixed
$NMATI_EMPR  : mixed
$NMTIT_EMPR  : mixed
$NOAFG_EMPR  : mixed
$NOBFG_EMPR  : mixed
$NOCEI_EMPR  : mixed
$NOCEP_EMPR  : mixed
$NOCFG_EMPR  : mixed
$NOCGC_EMPR  : mixed
$NOCPF_EMPR  : mixed
$NODDD_EMPR  : mixed
$NOIES_EMPR  : mixed
$NOIMU_EMPR  : mixed
$NOMCC_EMPR  : mixed
$NONAT_EMPR  : mixed
$NOPRO_EMPR  : mixed
$NORUR_EMPR  : mixed
$NOTEL_EMPR  : mixed
$NUMER_EMPR  : mixed
$OBSER_EMPR  : mixed
$PE13O_EMPR  : mixed
$PEAUT_EMPR  : mixed
$PEFER_EMPR  : mixed
$PEFIL_EMPR  : mixed
$PEFPA_EMPR  : mixed
$PEPRO_EMPR  : mixed
$PESAT_EMPR  : mixed
$PETER_EMPR  : mixed
$PLANO_EMPR  : mixed
$RAZAO_EMPR  : mixed
$REGCO_EMPR  : mixed
$RESPO_EMPR  : mixed
$SIMPL_EMPR  : mixed
$SINDI_EMPR  : mixed
$TPEND_EMPR  : mixed

Methods

__construct()  : mixed
delete()  : mixed
delete_where()  : mixed
getALIME_EMPR()  : mixed
Get the value of ALIME_EMPR
getAPUCB_EMPR()  : mixed
Get the value of APUCB_EMPR
getARRED_EMPR()  : mixed
Get the value of ARRED_EMPR
getAuditlog()  : mixed
getBAIRR_EMPR()  : mixed
Get the value of BAIRR_EMPR
getCAPIT_EMPR()  : mixed
Get the value of CAPIT_EMPR
getCATEG_EMPR()  : mixed
Get the value of CATEG_EMPR
getCDATI_EMPR()  : mixed
Get the value of CDATI_EMPR
getCDCAG_EMPR()  : mixed
Get the value of CDCAG_EMPR
getCDFPA_EMPR()  : mixed
Get the value of CDFPA_EMPR
getCDGPS_EMPR()  : mixed
Get the value of CDGPS_EMPR
getCDLOC_EMPR()  : mixed
Get the value of CDLOC_EMPR
getCDTER_EMPR()  : mixed
Get the value of CDTER_EMPR
getCODIG_EMPR()  : mixed
Get the value of CODIG_EMPR
getCOMPL_EMPR()  : mixed
Get the value of COMPL_EMPR
getConst()  : mixed
getConstObj()  : mixed
getDatabase()  : mixed
getDBDriver()  : mixed
getDBTable()  : mixed
getDTBAS_EMPR()  : mixed
Get the value of DTBAS_EMPR
getDTREG_EMPR()  : mixed
Get the value of DTREG_EMPR
getEMAIL_EMPR()  : mixed
Get the value of EMAIL_EMPR
getENDER_EMPR()  : mixed
Get the value of ENDER_EMPR
getESTAB_EMPR()  : mixed
Get the value of ESTAB_EMPR
getFECCB_EMPR()  : mixed
Get the value of FECCB_EMPR
getFIMAT_EMPR()  : mixed
Get the value of FIMAT_EMPR
getHORAR_EMPR()  : mixed
Get the value of HORAR_EMPR
getINIAT_EMPR()  : mixed
Get the value of INIAT_EMPR
getJTACO_EMPR()  : mixed
Get the value of JTACO_EMPR
getLANCB_EMPR()  : mixed
Get the value of LANCB_EMPR
getLCCTB_EMPR()  : mixed
Get the value of LCCTB_EMPR
getLOCAL_EMPR()  : mixed
Get the value of LOCAL_EMPR
getMATRI_EMPR()  : mixed
Get the value of MATRI_EMPR
getMUNIC_EMPR()  : mixed
Get the value of MUNIC_EMPR
getNIVCC_EMPR()  : mixed
Get the value of NIVCC_EMPR
getNMATI_EMPR()  : mixed
Get the value of NMATI_EMPR
getNMTIT_EMPR()  : mixed
Get the value of NMTIT_EMPR
getNOAFG_EMPR()  : mixed
Get the value of NOAFG_EMPR
getNOBFG_EMPR()  : mixed
Get the value of NOBFG_EMPR
getNOCEI_EMPR()  : mixed
Get the value of NOCEI_EMPR
getNOCEP_EMPR()  : mixed
Get the value of NOCEP_EMPR
getNOCFG_EMPR()  : mixed
Get the value of NOCFG_EMPR
getNOCGC_EMPR()  : mixed
Get the value of NOCGC_EMPR
getNOCPF_EMPR()  : mixed
Get the value of NOCPF_EMPR
getNODDD_EMPR()  : mixed
Get the value of NODDD_EMPR
getNOIES_EMPR()  : mixed
Get the value of NOIES_EMPR
getNOIMU_EMPR()  : mixed
Get the value of NOIMU_EMPR
getNOMCC_EMPR()  : mixed
Get the value of NOMCC_EMPR
getNONAT_EMPR()  : mixed
Get the value of NONAT_EMPR
getNOPRO_EMPR()  : mixed
Get the value of NOPRO_EMPR
getNORUR_EMPR()  : mixed
Get the value of NORUR_EMPR
getNOTEL_EMPR()  : mixed
Get the value of NOTEL_EMPR
getNUMER_EMPR()  : mixed
Get the value of NUMER_EMPR
getOBSER_EMPR()  : mixed
Get the value of OBSER_EMPR
getPE13O_EMPR()  : mixed
Get the value of PE13O_EMPR
getPEAUT_EMPR()  : mixed
Get the value of PEAUT_EMPR
getPEFER_EMPR()  : mixed
Get the value of PEFER_EMPR
getPEFIL_EMPR()  : mixed
Get the value of PEFIL_EMPR
getPEFPA_EMPR()  : mixed
Get the value of PEFPA_EMPR
getPEPRO_EMPR()  : mixed
Get the value of PEPRO_EMPR
getPESAT_EMPR()  : mixed
Get the value of PESAT_EMPR
getPETER_EMPR()  : mixed
Get the value of PETER_EMPR
getPLANO_EMPR()  : mixed
Get the value of PLANO_EMPR
getRAZAO_EMPR()  : mixed
Get the value of RAZAO_EMPR
getREGCO_EMPR()  : mixed
Get the value of REGCO_EMPR
getRESPO_EMPR()  : mixed
Get the value of RESPO_EMPR
getSIMPL_EMPR()  : mixed
Get the value of SIMPL_EMPR
getSINDI_EMPR()  : mixed
Get the value of SINDI_EMPR
getTable()  : mixed
getTPEND_EMPR()  : mixed
Get the value of TPEND_EMPR
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
setALIME_EMPR()  : self
Set the value of ALIME_EMPR
setAPUCB_EMPR()  : self
Set the value of APUCB_EMPR
setARRED_EMPR()  : self
Set the value of ARRED_EMPR
setBAIRR_EMPR()  : self
Set the value of BAIRR_EMPR
setCAPIT_EMPR()  : self
Set the value of CAPIT_EMPR
setCATEG_EMPR()  : self
Set the value of CATEG_EMPR
setCDATI_EMPR()  : self
Set the value of CDATI_EMPR
setCDCAG_EMPR()  : self
Set the value of CDCAG_EMPR
setCDFPA_EMPR()  : self
Set the value of CDFPA_EMPR
setCDGPS_EMPR()  : self
Set the value of CDGPS_EMPR
setCDLOC_EMPR()  : self
Set the value of CDLOC_EMPR
setCDTER_EMPR()  : self
Set the value of CDTER_EMPR
setCODIG_EMPR()  : self
Set the value of CODIG_EMPR
setCOMPL_EMPR()  : self
Set the value of COMPL_EMPR
setDTBAS_EMPR()  : self
Set the value of DTBAS_EMPR
setDTREG_EMPR()  : self
Set the value of DTREG_EMPR
setEMAIL_EMPR()  : self
Set the value of EMAIL_EMPR
setENDER_EMPR()  : self
Set the value of ENDER_EMPR
setESTAB_EMPR()  : self
Set the value of ESTAB_EMPR
setFECCB_EMPR()  : self
Set the value of FECCB_EMPR
setFIMAT_EMPR()  : self
Set the value of FIMAT_EMPR
setHORAR_EMPR()  : self
Set the value of HORAR_EMPR
setINIAT_EMPR()  : self
Set the value of INIAT_EMPR
setJTACO_EMPR()  : self
Set the value of JTACO_EMPR
setLANCB_EMPR()  : self
Set the value of LANCB_EMPR
setLCCTB_EMPR()  : self
Set the value of LCCTB_EMPR
setLOCAL_EMPR()  : self
Set the value of LOCAL_EMPR
setMATRI_EMPR()  : self
Set the value of MATRI_EMPR
setMUNIC_EMPR()  : self
Set the value of MUNIC_EMPR
setNIVCC_EMPR()  : self
Set the value of NIVCC_EMPR
setNMATI_EMPR()  : self
Set the value of NMATI_EMPR
setNMTIT_EMPR()  : self
Set the value of NMTIT_EMPR
setNOAFG_EMPR()  : self
Set the value of NOAFG_EMPR
setNOBFG_EMPR()  : self
Set the value of NOBFG_EMPR
setNOCEI_EMPR()  : self
Set the value of NOCEI_EMPR
setNOCEP_EMPR()  : self
Set the value of NOCEP_EMPR
setNOCFG_EMPR()  : self
Set the value of NOCFG_EMPR
setNOCGC_EMPR()  : self
Set the value of NOCGC_EMPR
setNOCPF_EMPR()  : self
Set the value of NOCPF_EMPR
setNODDD_EMPR()  : self
Set the value of NODDD_EMPR
setNOIES_EMPR()  : self
Set the value of NOIES_EMPR
setNOIMU_EMPR()  : self
Set the value of NOIMU_EMPR
setNOMCC_EMPR()  : self
Set the value of NOMCC_EMPR
setNONAT_EMPR()  : self
Set the value of NONAT_EMPR
setNOPRO_EMPR()  : self
Set the value of NOPRO_EMPR
setNORUR_EMPR()  : self
Set the value of NORUR_EMPR
setNOTEL_EMPR()  : self
Set the value of NOTEL_EMPR
setNUMER_EMPR()  : self
Set the value of NUMER_EMPR
setOBSER_EMPR()  : self
Set the value of OBSER_EMPR
setPE13O_EMPR()  : self
Set the value of PE13O_EMPR
setPEAUT_EMPR()  : self
Set the value of PEAUT_EMPR
setPEFER_EMPR()  : self
Set the value of PEFER_EMPR
setPEFIL_EMPR()  : self
Set the value of PEFIL_EMPR
setPEFPA_EMPR()  : self
Set the value of PEFPA_EMPR
setPEPRO_EMPR()  : self
Set the value of PEPRO_EMPR
setPESAT_EMPR()  : self
Set the value of PESAT_EMPR
setPETER_EMPR()  : self
Set the value of PETER_EMPR
setPLANO_EMPR()  : self
Set the value of PLANO_EMPR
setRAZAO_EMPR()  : self
Set the value of RAZAO_EMPR
setREGCO_EMPR()  : self
Set the value of REGCO_EMPR
setRESPO_EMPR()  : self
Set the value of RESPO_EMPR
setSIMPL_EMPR()  : self
Set the value of SIMPL_EMPR
setSINDI_EMPR()  : self
Set the value of SINDI_EMPR
setTPEND_EMPR()  : self
Set the value of TPEND_EMPR
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 = []

security

Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>

public mixed security = ['select' => 'src\models\TABGREMPRSecurity::securitySelect']

Properties

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 = []

getALIME_EMPR()

Get the value of ALIME_EMPR

public getALIME_EMPR() : mixed

getAPUCB_EMPR()

Get the value of APUCB_EMPR

public getAPUCB_EMPR() : mixed

getARRED_EMPR()

Get the value of ARRED_EMPR

public getARRED_EMPR() : mixed

getAuditlog()

public getAuditlog([string|null $key = null ]) : mixed
Parameters
$key : string|null = null

getBAIRR_EMPR()

Get the value of BAIRR_EMPR

public getBAIRR_EMPR() : mixed

getCAPIT_EMPR()

Get the value of CAPIT_EMPR

public getCAPIT_EMPR() : mixed

getCATEG_EMPR()

Get the value of CATEG_EMPR

public getCATEG_EMPR() : mixed

getCDATI_EMPR()

Get the value of CDATI_EMPR

public getCDATI_EMPR() : mixed

getCDCAG_EMPR()

Get the value of CDCAG_EMPR

public getCDCAG_EMPR() : mixed

getCDFPA_EMPR()

Get the value of CDFPA_EMPR

public getCDFPA_EMPR() : mixed

getCDGPS_EMPR()

Get the value of CDGPS_EMPR

public getCDGPS_EMPR() : mixed

getCDLOC_EMPR()

Get the value of CDLOC_EMPR

public getCDLOC_EMPR() : mixed

getCDTER_EMPR()

Get the value of CDTER_EMPR

public getCDTER_EMPR() : mixed

getCODIG_EMPR()

Get the value of CODIG_EMPR

public getCODIG_EMPR() : mixed

getCOMPL_EMPR()

Get the value of COMPL_EMPR

public getCOMPL_EMPR() : 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

getDatabase()

public getDatabase() : mixed

getDBDriver()

public static getDBDriver() : mixed

getDBTable()

public static getDBTable() : mixed

getDTBAS_EMPR()

Get the value of DTBAS_EMPR

public getDTBAS_EMPR() : mixed

getDTREG_EMPR()

Get the value of DTREG_EMPR

public getDTREG_EMPR() : mixed

getEMAIL_EMPR()

Get the value of EMAIL_EMPR

public getEMAIL_EMPR() : mixed

getENDER_EMPR()

Get the value of ENDER_EMPR

public getENDER_EMPR() : mixed

getESTAB_EMPR()

Get the value of ESTAB_EMPR

public getESTAB_EMPR() : mixed

getFECCB_EMPR()

Get the value of FECCB_EMPR

public getFECCB_EMPR() : mixed

getFIMAT_EMPR()

Get the value of FIMAT_EMPR

public getFIMAT_EMPR() : mixed

getHORAR_EMPR()

Get the value of HORAR_EMPR

public getHORAR_EMPR() : mixed

getINIAT_EMPR()

Get the value of INIAT_EMPR

public getINIAT_EMPR() : mixed

getJTACO_EMPR()

Get the value of JTACO_EMPR

public getJTACO_EMPR() : mixed

getLANCB_EMPR()

Get the value of LANCB_EMPR

public getLANCB_EMPR() : mixed

getLCCTB_EMPR()

Get the value of LCCTB_EMPR

public getLCCTB_EMPR() : mixed

getLOCAL_EMPR()

Get the value of LOCAL_EMPR

public getLOCAL_EMPR() : mixed

getMATRI_EMPR()

Get the value of MATRI_EMPR

public getMATRI_EMPR() : mixed

getMUNIC_EMPR()

Get the value of MUNIC_EMPR

public getMUNIC_EMPR() : mixed

getNIVCC_EMPR()

Get the value of NIVCC_EMPR

public getNIVCC_EMPR() : mixed

getNMATI_EMPR()

Get the value of NMATI_EMPR

public getNMATI_EMPR() : mixed

getNMTIT_EMPR()

Get the value of NMTIT_EMPR

public getNMTIT_EMPR() : mixed

getNOAFG_EMPR()

Get the value of NOAFG_EMPR

public getNOAFG_EMPR() : mixed

getNOBFG_EMPR()

Get the value of NOBFG_EMPR

public getNOBFG_EMPR() : mixed

getNOCEI_EMPR()

Get the value of NOCEI_EMPR

public getNOCEI_EMPR() : mixed

getNOCEP_EMPR()

Get the value of NOCEP_EMPR

public getNOCEP_EMPR() : mixed

getNOCFG_EMPR()

Get the value of NOCFG_EMPR

public getNOCFG_EMPR() : mixed

getNOCGC_EMPR()

Get the value of NOCGC_EMPR

public getNOCGC_EMPR() : mixed

getNOCPF_EMPR()

Get the value of NOCPF_EMPR

public getNOCPF_EMPR() : mixed

getNODDD_EMPR()

Get the value of NODDD_EMPR

public getNODDD_EMPR() : mixed

getNOIES_EMPR()

Get the value of NOIES_EMPR

public getNOIES_EMPR() : mixed

getNOIMU_EMPR()

Get the value of NOIMU_EMPR

public getNOIMU_EMPR() : mixed

getNOMCC_EMPR()

Get the value of NOMCC_EMPR

public getNOMCC_EMPR() : mixed

getNONAT_EMPR()

Get the value of NONAT_EMPR

public getNONAT_EMPR() : mixed

getNOPRO_EMPR()

Get the value of NOPRO_EMPR

public getNOPRO_EMPR() : mixed

getNORUR_EMPR()

Get the value of NORUR_EMPR

public getNORUR_EMPR() : mixed

getNOTEL_EMPR()

Get the value of NOTEL_EMPR

public getNOTEL_EMPR() : mixed

getNUMER_EMPR()

Get the value of NUMER_EMPR

public getNUMER_EMPR() : mixed

getOBSER_EMPR()

Get the value of OBSER_EMPR

public getOBSER_EMPR() : mixed

getPE13O_EMPR()

Get the value of PE13O_EMPR

public getPE13O_EMPR() : mixed

getPEAUT_EMPR()

Get the value of PEAUT_EMPR

public getPEAUT_EMPR() : mixed

getPEFER_EMPR()

Get the value of PEFER_EMPR

public getPEFER_EMPR() : mixed

getPEFIL_EMPR()

Get the value of PEFIL_EMPR

public getPEFIL_EMPR() : mixed

getPEFPA_EMPR()

Get the value of PEFPA_EMPR

public getPEFPA_EMPR() : mixed

getPEPRO_EMPR()

Get the value of PEPRO_EMPR

public getPEPRO_EMPR() : mixed

getPESAT_EMPR()

Get the value of PESAT_EMPR

public getPESAT_EMPR() : mixed

getPETER_EMPR()

Get the value of PETER_EMPR

public getPETER_EMPR() : mixed

getPLANO_EMPR()

Get the value of PLANO_EMPR

public getPLANO_EMPR() : mixed

getRAZAO_EMPR()

Get the value of RAZAO_EMPR

public getRAZAO_EMPR() : mixed

getREGCO_EMPR()

Get the value of REGCO_EMPR

public getREGCO_EMPR() : mixed

getRESPO_EMPR()

Get the value of RESPO_EMPR

public getRESPO_EMPR() : mixed

getSIMPL_EMPR()

Get the value of SIMPL_EMPR

public getSIMPL_EMPR() : mixed

getSINDI_EMPR()

Get the value of SINDI_EMPR

public getSINDI_EMPR() : mixed

getTable()

public getTable() : mixed

getTPEND_EMPR()

Get the value of TPEND_EMPR

public getTPEND_EMPR() : mixed

hasField()

public static hasField(mixed $field) : mixed
Parameters
$field : mixed

insert_or_select()

Funcao que insere ou seleciona se existe

public insert_or_select([mixed $where = [] ]) : null|Entity
Parameters
$where : mixed = []
Return values
null|Entity

insert_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
bool

securityInsert()

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

setALIME_EMPR()

Set the value of ALIME_EMPR

public setALIME_EMPR(mixed $ALIME_EMPR) : self
Parameters
$ALIME_EMPR : mixed
Return values
self

setAPUCB_EMPR()

Set the value of APUCB_EMPR

public setAPUCB_EMPR(mixed $APUCB_EMPR) : self
Parameters
$APUCB_EMPR : mixed
Return values
self

setARRED_EMPR()

Set the value of ARRED_EMPR

public setARRED_EMPR(mixed $ARRED_EMPR) : self
Parameters
$ARRED_EMPR : mixed
Return values
self

setBAIRR_EMPR()

Set the value of BAIRR_EMPR

public setBAIRR_EMPR(mixed $BAIRR_EMPR) : self
Parameters
$BAIRR_EMPR : mixed
Return values
self

setCAPIT_EMPR()

Set the value of CAPIT_EMPR

public setCAPIT_EMPR(mixed $CAPIT_EMPR) : self
Parameters
$CAPIT_EMPR : mixed
Return values
self

setCATEG_EMPR()

Set the value of CATEG_EMPR

public setCATEG_EMPR(mixed $CATEG_EMPR) : self
Parameters
$CATEG_EMPR : mixed
Return values
self

setCDATI_EMPR()

Set the value of CDATI_EMPR

public setCDATI_EMPR(mixed $CDATI_EMPR) : self
Parameters
$CDATI_EMPR : mixed
Return values
self

setCDCAG_EMPR()

Set the value of CDCAG_EMPR

public setCDCAG_EMPR(mixed $CDCAG_EMPR) : self
Parameters
$CDCAG_EMPR : mixed
Return values
self

setCDFPA_EMPR()

Set the value of CDFPA_EMPR

public setCDFPA_EMPR(mixed $CDFPA_EMPR) : self
Parameters
$CDFPA_EMPR : mixed
Return values
self

setCDGPS_EMPR()

Set the value of CDGPS_EMPR

public setCDGPS_EMPR(mixed $CDGPS_EMPR) : self
Parameters
$CDGPS_EMPR : mixed
Return values
self

setCDLOC_EMPR()

Set the value of CDLOC_EMPR

public setCDLOC_EMPR(mixed $CDLOC_EMPR) : self
Parameters
$CDLOC_EMPR : mixed
Return values
self

setCDTER_EMPR()

Set the value of CDTER_EMPR

public setCDTER_EMPR(mixed $CDTER_EMPR) : self
Parameters
$CDTER_EMPR : mixed
Return values
self

setCODIG_EMPR()

Set the value of CODIG_EMPR

public setCODIG_EMPR(mixed $CODIG_EMPR) : self
Parameters
$CODIG_EMPR : mixed
Return values
self

setCOMPL_EMPR()

Set the value of COMPL_EMPR

public setCOMPL_EMPR(mixed $COMPL_EMPR) : self
Parameters
$COMPL_EMPR : mixed
Return values
self

setDTBAS_EMPR()

Set the value of DTBAS_EMPR

public setDTBAS_EMPR(mixed $DTBAS_EMPR) : self
Parameters
$DTBAS_EMPR : mixed
Return values
self

setDTREG_EMPR()

Set the value of DTREG_EMPR

public setDTREG_EMPR(mixed $DTREG_EMPR) : self
Parameters
$DTREG_EMPR : mixed
Return values
self

setEMAIL_EMPR()

Set the value of EMAIL_EMPR

public setEMAIL_EMPR(mixed $EMAIL_EMPR) : self
Parameters
$EMAIL_EMPR : mixed
Return values
self

setENDER_EMPR()

Set the value of ENDER_EMPR

public setENDER_EMPR(mixed $ENDER_EMPR) : self
Parameters
$ENDER_EMPR : mixed
Return values
self

setESTAB_EMPR()

Set the value of ESTAB_EMPR

public setESTAB_EMPR(mixed $ESTAB_EMPR) : self
Parameters
$ESTAB_EMPR : mixed
Return values
self

setFECCB_EMPR()

Set the value of FECCB_EMPR

public setFECCB_EMPR(mixed $FECCB_EMPR) : self
Parameters
$FECCB_EMPR : mixed
Return values
self

setFIMAT_EMPR()

Set the value of FIMAT_EMPR

public setFIMAT_EMPR(mixed $FIMAT_EMPR) : self
Parameters
$FIMAT_EMPR : mixed
Return values
self

setHORAR_EMPR()

Set the value of HORAR_EMPR

public setHORAR_EMPR(mixed $HORAR_EMPR) : self
Parameters
$HORAR_EMPR : mixed
Return values
self

setINIAT_EMPR()

Set the value of INIAT_EMPR

public setINIAT_EMPR(mixed $INIAT_EMPR) : self
Parameters
$INIAT_EMPR : mixed
Return values
self

setJTACO_EMPR()

Set the value of JTACO_EMPR

public setJTACO_EMPR(mixed $JTACO_EMPR) : self
Parameters
$JTACO_EMPR : mixed
Return values
self

setLANCB_EMPR()

Set the value of LANCB_EMPR

public setLANCB_EMPR(mixed $LANCB_EMPR) : self
Parameters
$LANCB_EMPR : mixed
Return values
self

setLCCTB_EMPR()

Set the value of LCCTB_EMPR

public setLCCTB_EMPR(mixed $LCCTB_EMPR) : self
Parameters
$LCCTB_EMPR : mixed
Return values
self

setLOCAL_EMPR()

Set the value of LOCAL_EMPR

public setLOCAL_EMPR(mixed $LOCAL_EMPR) : self
Parameters
$LOCAL_EMPR : mixed
Return values
self

setMATRI_EMPR()

Set the value of MATRI_EMPR

public setMATRI_EMPR(mixed $MATRI_EMPR) : self
Parameters
$MATRI_EMPR : mixed
Return values
self

setMUNIC_EMPR()

Set the value of MUNIC_EMPR

public setMUNIC_EMPR(mixed $MUNIC_EMPR) : self
Parameters
$MUNIC_EMPR : mixed
Return values
self

setNIVCC_EMPR()

Set the value of NIVCC_EMPR

public setNIVCC_EMPR(mixed $NIVCC_EMPR) : self
Parameters
$NIVCC_EMPR : mixed
Return values
self

setNMATI_EMPR()

Set the value of NMATI_EMPR

public setNMATI_EMPR(mixed $NMATI_EMPR) : self
Parameters
$NMATI_EMPR : mixed
Return values
self

setNMTIT_EMPR()

Set the value of NMTIT_EMPR

public setNMTIT_EMPR(mixed $NMTIT_EMPR) : self
Parameters
$NMTIT_EMPR : mixed
Return values
self

setNOAFG_EMPR()

Set the value of NOAFG_EMPR

public setNOAFG_EMPR(mixed $NOAFG_EMPR) : self
Parameters
$NOAFG_EMPR : mixed
Return values
self

setNOBFG_EMPR()

Set the value of NOBFG_EMPR

public setNOBFG_EMPR(mixed $NOBFG_EMPR) : self
Parameters
$NOBFG_EMPR : mixed
Return values
self

setNOCEI_EMPR()

Set the value of NOCEI_EMPR

public setNOCEI_EMPR(mixed $NOCEI_EMPR) : self
Parameters
$NOCEI_EMPR : mixed
Return values
self

setNOCEP_EMPR()

Set the value of NOCEP_EMPR

public setNOCEP_EMPR(mixed $NOCEP_EMPR) : self
Parameters
$NOCEP_EMPR : mixed
Return values
self

setNOCFG_EMPR()

Set the value of NOCFG_EMPR

public setNOCFG_EMPR(mixed $NOCFG_EMPR) : self
Parameters
$NOCFG_EMPR : mixed
Return values
self

setNOCGC_EMPR()

Set the value of NOCGC_EMPR

public setNOCGC_EMPR(mixed $NOCGC_EMPR) : self
Parameters
$NOCGC_EMPR : mixed
Return values
self

setNOCPF_EMPR()

Set the value of NOCPF_EMPR

public setNOCPF_EMPR(mixed $NOCPF_EMPR) : self
Parameters
$NOCPF_EMPR : mixed
Return values
self

setNODDD_EMPR()

Set the value of NODDD_EMPR

public setNODDD_EMPR(mixed $NODDD_EMPR) : self
Parameters
$NODDD_EMPR : mixed
Return values
self

setNOIES_EMPR()

Set the value of NOIES_EMPR

public setNOIES_EMPR(mixed $NOIES_EMPR) : self
Parameters
$NOIES_EMPR : mixed
Return values
self

setNOIMU_EMPR()

Set the value of NOIMU_EMPR

public setNOIMU_EMPR(mixed $NOIMU_EMPR) : self
Parameters
$NOIMU_EMPR : mixed
Return values
self

setNOMCC_EMPR()

Set the value of NOMCC_EMPR

public setNOMCC_EMPR(mixed $NOMCC_EMPR) : self
Parameters
$NOMCC_EMPR : mixed
Return values
self

setNONAT_EMPR()

Set the value of NONAT_EMPR

public setNONAT_EMPR(mixed $NONAT_EMPR) : self
Parameters
$NONAT_EMPR : mixed
Return values
self

setNOPRO_EMPR()

Set the value of NOPRO_EMPR

public setNOPRO_EMPR(mixed $NOPRO_EMPR) : self
Parameters
$NOPRO_EMPR : mixed
Return values
self

setNORUR_EMPR()

Set the value of NORUR_EMPR

public setNORUR_EMPR(mixed $NORUR_EMPR) : self
Parameters
$NORUR_EMPR : mixed
Return values
self

setNOTEL_EMPR()

Set the value of NOTEL_EMPR

public setNOTEL_EMPR(mixed $NOTEL_EMPR) : self
Parameters
$NOTEL_EMPR : mixed
Return values
self

setNUMER_EMPR()

Set the value of NUMER_EMPR

public setNUMER_EMPR(mixed $NUMER_EMPR) : self
Parameters
$NUMER_EMPR : mixed
Return values
self

setOBSER_EMPR()

Set the value of OBSER_EMPR

public setOBSER_EMPR(mixed $OBSER_EMPR) : self
Parameters
$OBSER_EMPR : mixed
Return values
self

setPE13O_EMPR()

Set the value of PE13O_EMPR

public setPE13O_EMPR(mixed $PE13O_EMPR) : self
Parameters
$PE13O_EMPR : mixed
Return values
self

setPEAUT_EMPR()

Set the value of PEAUT_EMPR

public setPEAUT_EMPR(mixed $PEAUT_EMPR) : self
Parameters
$PEAUT_EMPR : mixed
Return values
self

setPEFER_EMPR()

Set the value of PEFER_EMPR

public setPEFER_EMPR(mixed $PEFER_EMPR) : self
Parameters
$PEFER_EMPR : mixed
Return values
self

setPEFIL_EMPR()

Set the value of PEFIL_EMPR

public setPEFIL_EMPR(mixed $PEFIL_EMPR) : self
Parameters
$PEFIL_EMPR : mixed
Return values
self

setPEFPA_EMPR()

Set the value of PEFPA_EMPR

public setPEFPA_EMPR(mixed $PEFPA_EMPR) : self
Parameters
$PEFPA_EMPR : mixed
Return values
self

setPEPRO_EMPR()

Set the value of PEPRO_EMPR

public setPEPRO_EMPR(mixed $PEPRO_EMPR) : self
Parameters
$PEPRO_EMPR : mixed
Return values
self

setPESAT_EMPR()

Set the value of PESAT_EMPR

public setPESAT_EMPR(mixed $PESAT_EMPR) : self
Parameters
$PESAT_EMPR : mixed
Return values
self

setPETER_EMPR()

Set the value of PETER_EMPR

public setPETER_EMPR(mixed $PETER_EMPR) : self
Parameters
$PETER_EMPR : mixed
Return values
self

setPLANO_EMPR()

Set the value of PLANO_EMPR

public setPLANO_EMPR(mixed $PLANO_EMPR) : self
Parameters
$PLANO_EMPR : mixed
Return values
self

setRAZAO_EMPR()

Set the value of RAZAO_EMPR

public setRAZAO_EMPR(mixed $RAZAO_EMPR) : self
Parameters
$RAZAO_EMPR : mixed
Return values
self

setREGCO_EMPR()

Set the value of REGCO_EMPR

public setREGCO_EMPR(mixed $REGCO_EMPR) : self
Parameters
$REGCO_EMPR : mixed
Return values
self

setRESPO_EMPR()

Set the value of RESPO_EMPR

public setRESPO_EMPR(mixed $RESPO_EMPR) : self
Parameters
$RESPO_EMPR : mixed
Return values
self

setSIMPL_EMPR()

Set the value of SIMPL_EMPR

public setSIMPL_EMPR(mixed $SIMPL_EMPR) : self
Parameters
$SIMPL_EMPR : mixed
Return values
self

setSINDI_EMPR()

Set the value of SINDI_EMPR

public setSINDI_EMPR(mixed $SINDI_EMPR) : self
Parameters
$SINDI_EMPR : mixed
Return values
self

setTPEND_EMPR()

Set the value of TPEND_EMPR

public setTPEND_EMPR(mixed $TPEND_EMPR) : self
Parameters
$TPEND_EMPR : mixed
Return values
self

update()

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
bool

where()

Rudimentary ORM functions

public static where([mixed $where = [] ][, mixed $select = '*' ]) : Collection
Parameters
$where : mixed = []
$select : mixed = '*'
Return values
Collection

        
On this page

Search results