TABFPFERIEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = []
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_INTSYS
- db_table = 'TABFPFERI'
- pk_field = 'EMPRE_FERI'
- sanitize = []
- security = ['select' => 'src\models\TABFPFERISecurity::securitySelect']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = []
Properties
- $ABON1_FERI : mixed
- $ABON2_FERI : mixed
- $AFAST_FERI : mixed
- $AQUI1_FERI : mixed
- $AQUI2_FERI : mixed
- $COLET_FERI : mixed
- $COMPE_FERI : mixed
- $DIASA_FERI : mixed
- $DIASF_FERI : mixed
- $DTAVI_FERI : mixed
- $DTPGT_FERI : mixed
- $EMPRE_FERI : mixed
- $FALTA_FERI : mixed
- $FER13_FERI : mixed
- $FUNCI_FERI : mixed
- $GOZO1_FERI : mixed
- $GOZO2_FERI : mixed
- $ITEMF_FERI : mixed
- $LICE2_FERI : mixed
- $LICEN_FERI : mixed
- $SAL13_FERI : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getABON1_FERI() : mixed
- Get the value of ABON1_FERI
- getABON2_FERI() : mixed
- Get the value of ABON2_FERI
- getAFAST_FERI() : mixed
- Get the value of AFAST_FERI
- getAQUI1_FERI() : mixed
- Get the value of AQUI1_FERI
- getAQUI2_FERI() : mixed
- Get the value of AQUI2_FERI
- getAuditlog() : mixed
- getCOLET_FERI() : mixed
- Get the value of COLET_FERI
- getCOMPE_FERI() : mixed
- Get the value of COMPE_FERI
- getConst() : mixed
- getConstObj() : mixed
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getDIASA_FERI() : mixed
- Get the value of DIASA_FERI
- getDIASF_FERI() : mixed
- Get the value of DIASF_FERI
- getDTAVI_FERI() : mixed
- Get the value of DTAVI_FERI
- getDTPGT_FERI() : mixed
- Get the value of DTPGT_FERI
- getEMPRE_FERI() : mixed
- Get the value of EMPRE_FERI
- getFALTA_FERI() : mixed
- Get the value of FALTA_FERI
- getFER13_FERI() : mixed
- Get the value of FER13_FERI
- getFUNCI_FERI() : mixed
- Get the value of FUNCI_FERI
- getGOZO1_FERI() : mixed
- Get the value of GOZO1_FERI
- getGOZO2_FERI() : mixed
- Get the value of GOZO2_FERI
- getITEMF_FERI() : mixed
- Get the value of ITEMF_FERI
- getLICE2_FERI() : mixed
- Get the value of LICE2_FERI
- getLICEN_FERI() : mixed
- Get the value of LICEN_FERI
- getSAL13_FERI() : mixed
- Get the value of SAL13_FERI
- 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
- setABON1_FERI() : self
- Set the value of ABON1_FERI
- setABON2_FERI() : self
- Set the value of ABON2_FERI
- setAFAST_FERI() : self
- Set the value of AFAST_FERI
- setAQUI1_FERI() : self
- Set the value of AQUI1_FERI
- setAQUI2_FERI() : self
- Set the value of AQUI2_FERI
- setCOLET_FERI() : self
- Set the value of COLET_FERI
- setCOMPE_FERI() : self
- Set the value of COMPE_FERI
- setDIASA_FERI() : self
- Set the value of DIASA_FERI
- setDIASF_FERI() : self
- Set the value of DIASF_FERI
- setDTAVI_FERI() : self
- Set the value of DTAVI_FERI
- setDTPGT_FERI() : self
- Set the value of DTPGT_FERI
- setEMPRE_FERI() : self
- Set the value of EMPRE_FERI
- setFALTA_FERI() : self
- Set the value of FALTA_FERI
- setFER13_FERI() : self
- Set the value of FER13_FERI
- setFUNCI_FERI() : self
- Set the value of FUNCI_FERI
- setGOZO1_FERI() : self
- Set the value of GOZO1_FERI
- setGOZO2_FERI() : self
- Set the value of GOZO2_FERI
- setITEMF_FERI() : self
- Set the value of ITEMF_FERI
- setLICE2_FERI() : self
- Set the value of LICE2_FERI
- setLICEN_FERI() : self
- Set the value of LICEN_FERI
- setSAL13_FERI() : self
- Set the value of SAL13_FERI
- 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
db_table
public
mixed
db_table
= 'TABFPFERI'
pk_field
public
mixed
pk_field
= 'EMPRE_FERI'
sanitize
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['select' => 'src\models\TABFPFERISecurity::securitySelect']
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= []
Properties
$ABON1_FERI
private
mixed
$ABON1_FERI
$ABON2_FERI
private
mixed
$ABON2_FERI
$AFAST_FERI
private
mixed
$AFAST_FERI
$AQUI1_FERI
private
mixed
$AQUI1_FERI
$AQUI2_FERI
private
mixed
$AQUI2_FERI
$COLET_FERI
private
mixed
$COLET_FERI
$COMPE_FERI
private
mixed
$COMPE_FERI
$DIASA_FERI
private
mixed
$DIASA_FERI
$DIASF_FERI
private
mixed
$DIASF_FERI
$DTAVI_FERI
private
mixed
$DTAVI_FERI
$DTPGT_FERI
private
mixed
$DTPGT_FERI
$EMPRE_FERI
private
mixed
$EMPRE_FERI
$FALTA_FERI
private
mixed
$FALTA_FERI
$FER13_FERI
private
mixed
$FER13_FERI
$FUNCI_FERI
private
mixed
$FUNCI_FERI
$GOZO1_FERI
private
mixed
$GOZO1_FERI
$GOZO2_FERI
private
mixed
$GOZO2_FERI
$ITEMF_FERI
private
mixed
$ITEMF_FERI
$LICE2_FERI
private
mixed
$LICE2_FERI
$LICEN_FERI
private
mixed
$LICEN_FERI
$SAL13_FERI
private
mixed
$SAL13_FERI
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 = []
getABON1_FERI()
Get the value of ABON1_FERI
public
getABON1_FERI() : mixed
getABON2_FERI()
Get the value of ABON2_FERI
public
getABON2_FERI() : mixed
getAFAST_FERI()
Get the value of AFAST_FERI
public
getAFAST_FERI() : mixed
getAQUI1_FERI()
Get the value of AQUI1_FERI
public
getAQUI1_FERI() : mixed
getAQUI2_FERI()
Get the value of AQUI2_FERI
public
getAQUI2_FERI() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCOLET_FERI()
Get the value of COLET_FERI
public
getCOLET_FERI() : mixed
getCOMPE_FERI()
Get the value of COMPE_FERI
public
getCOMPE_FERI() : 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
getDIASA_FERI()
Get the value of DIASA_FERI
public
getDIASA_FERI() : mixed
getDIASF_FERI()
Get the value of DIASF_FERI
public
getDIASF_FERI() : mixed
getDTAVI_FERI()
Get the value of DTAVI_FERI
public
getDTAVI_FERI() : mixed
getDTPGT_FERI()
Get the value of DTPGT_FERI
public
getDTPGT_FERI() : mixed
getEMPRE_FERI()
Get the value of EMPRE_FERI
public
getEMPRE_FERI() : mixed
getFALTA_FERI()
Get the value of FALTA_FERI
public
getFALTA_FERI() : mixed
getFER13_FERI()
Get the value of FER13_FERI
public
getFER13_FERI() : mixed
getFUNCI_FERI()
Get the value of FUNCI_FERI
public
getFUNCI_FERI() : mixed
getGOZO1_FERI()
Get the value of GOZO1_FERI
public
getGOZO1_FERI() : mixed
getGOZO2_FERI()
Get the value of GOZO2_FERI
public
getGOZO2_FERI() : mixed
getITEMF_FERI()
Get the value of ITEMF_FERI
public
getITEMF_FERI() : mixed
getLICE2_FERI()
Get the value of LICE2_FERI
public
getLICE2_FERI() : mixed
getLICEN_FERI()
Get the value of LICEN_FERI
public
getLICEN_FERI() : mixed
getSAL13_FERI()
Get the value of SAL13_FERI
public
getSAL13_FERI() : 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
setABON1_FERI()
Set the value of ABON1_FERI
public
setABON1_FERI(mixed $ABON1_FERI) : self
Parameters
- $ABON1_FERI : mixed
Return values
selfsetABON2_FERI()
Set the value of ABON2_FERI
public
setABON2_FERI(mixed $ABON2_FERI) : self
Parameters
- $ABON2_FERI : mixed
Return values
selfsetAFAST_FERI()
Set the value of AFAST_FERI
public
setAFAST_FERI(mixed $AFAST_FERI) : self
Parameters
- $AFAST_FERI : mixed
Return values
selfsetAQUI1_FERI()
Set the value of AQUI1_FERI
public
setAQUI1_FERI(mixed $AQUI1_FERI) : self
Parameters
- $AQUI1_FERI : mixed
Return values
selfsetAQUI2_FERI()
Set the value of AQUI2_FERI
public
setAQUI2_FERI(mixed $AQUI2_FERI) : self
Parameters
- $AQUI2_FERI : mixed
Return values
selfsetCOLET_FERI()
Set the value of COLET_FERI
public
setCOLET_FERI(mixed $COLET_FERI) : self
Parameters
- $COLET_FERI : mixed
Return values
selfsetCOMPE_FERI()
Set the value of COMPE_FERI
public
setCOMPE_FERI(mixed $COMPE_FERI) : self
Parameters
- $COMPE_FERI : mixed
Return values
selfsetDIASA_FERI()
Set the value of DIASA_FERI
public
setDIASA_FERI(mixed $DIASA_FERI) : self
Parameters
- $DIASA_FERI : mixed
Return values
selfsetDIASF_FERI()
Set the value of DIASF_FERI
public
setDIASF_FERI(mixed $DIASF_FERI) : self
Parameters
- $DIASF_FERI : mixed
Return values
selfsetDTAVI_FERI()
Set the value of DTAVI_FERI
public
setDTAVI_FERI(mixed $DTAVI_FERI) : self
Parameters
- $DTAVI_FERI : mixed
Return values
selfsetDTPGT_FERI()
Set the value of DTPGT_FERI
public
setDTPGT_FERI(mixed $DTPGT_FERI) : self
Parameters
- $DTPGT_FERI : mixed
Return values
selfsetEMPRE_FERI()
Set the value of EMPRE_FERI
public
setEMPRE_FERI(mixed $EMPRE_FERI) : self
Parameters
- $EMPRE_FERI : mixed
Return values
selfsetFALTA_FERI()
Set the value of FALTA_FERI
public
setFALTA_FERI(mixed $FALTA_FERI) : self
Parameters
- $FALTA_FERI : mixed
Return values
selfsetFER13_FERI()
Set the value of FER13_FERI
public
setFER13_FERI(mixed $FER13_FERI) : self
Parameters
- $FER13_FERI : mixed
Return values
selfsetFUNCI_FERI()
Set the value of FUNCI_FERI
public
setFUNCI_FERI(mixed $FUNCI_FERI) : self
Parameters
- $FUNCI_FERI : mixed
Return values
selfsetGOZO1_FERI()
Set the value of GOZO1_FERI
public
setGOZO1_FERI(mixed $GOZO1_FERI) : self
Parameters
- $GOZO1_FERI : mixed
Return values
selfsetGOZO2_FERI()
Set the value of GOZO2_FERI
public
setGOZO2_FERI(mixed $GOZO2_FERI) : self
Parameters
- $GOZO2_FERI : mixed
Return values
selfsetITEMF_FERI()
Set the value of ITEMF_FERI
public
setITEMF_FERI(mixed $ITEMF_FERI) : self
Parameters
- $ITEMF_FERI : mixed
Return values
selfsetLICE2_FERI()
Set the value of LICE2_FERI
public
setLICE2_FERI(mixed $LICE2_FERI) : self
Parameters
- $LICE2_FERI : mixed
Return values
selfsetLICEN_FERI()
Set the value of LICEN_FERI
public
setLICEN_FERI(mixed $LICEN_FERI) : self
Parameters
- $LICEN_FERI : mixed
Return values
selfsetSAL13_FERI()
Set the value of SAL13_FERI
public
setSAL13_FERI(mixed $SAL13_FERI) : self
Parameters
- $SAL13_FERI : 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 = '*'