TABCOLANREntity
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 = 'TABCOLANR'
- pk_field = 'EMPRE_LANR'
- sanitize = []
- security = []
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = []
Properties
- $COMPE_LANR : mixed
- $CONTA_LANR : mixed
- $DOCUM_LANR : mixed
- $EMPRE_LANR : mixed
- $IDSISTEMAGERE : mixed
- $IMOVE_LANR : mixed
- $NLOTE_LANR : mixed
- $NODIA_LANR : mixed
- $NUDOC_LANR : mixed
- $NUMER_LANR : mixed
- $ORDEM_LANR : mixed
- $PARTI_LANR : mixed
- $PLANO_LANR : mixed
- $TIPOL_LANR : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getCOMPE_LANR() : mixed
- Get the value of COMPE_LANR
- getConst() : mixed
- getConstObj() : mixed
- getCONTA_LANR() : mixed
- Get the value of CONTA_LANR
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getDOCUM_LANR() : mixed
- Get the value of DOCUM_LANR
- getEMPRE_LANR() : mixed
- Get the value of EMPRE_LANR
- getIDSISTEMAGERE() : mixed
- Get the value of IDSISTEMAGERE
- getIMOVE_LANR() : mixed
- Get the value of IMOVE_LANR
- getNLOTE_LANR() : mixed
- Get the value of NLOTE_LANR
- getNODIA_LANR() : mixed
- Get the value of NODIA_LANR
- getNUDOC_LANR() : mixed
- Get the value of NUDOC_LANR
- getNUMER_LANR() : mixed
- Get the value of NUMER_LANR
- getORDEM_LANR() : mixed
- Get the value of ORDEM_LANR
- getPARTI_LANR() : mixed
- Get the value of PARTI_LANR
- getPLANO_LANR() : mixed
- Get the value of PLANO_LANR
- getTable() : mixed
- getTIPOL_LANR() : mixed
- Get the value of TIPOL_LANR
- 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
- setCOMPE_LANR() : self
- Set the value of COMPE_LANR
- setCONTA_LANR() : self
- Set the value of CONTA_LANR
- setDOCUM_LANR() : self
- Set the value of DOCUM_LANR
- setEMPRE_LANR() : self
- Set the value of EMPRE_LANR
- setIDSISTEMAGERE() : self
- Set the value of IDSISTEMAGERE
- setIMOVE_LANR() : self
- Set the value of IMOVE_LANR
- setNLOTE_LANR() : self
- Set the value of NLOTE_LANR
- setNODIA_LANR() : self
- Set the value of NODIA_LANR
- setNUDOC_LANR() : self
- Set the value of NUDOC_LANR
- setNUMER_LANR() : self
- Set the value of NUMER_LANR
- setORDEM_LANR() : self
- Set the value of ORDEM_LANR
- setPARTI_LANR() : self
- Set the value of PARTI_LANR
- setPLANO_LANR() : self
- Set the value of PLANO_LANR
- setTIPOL_LANR() : self
- Set the value of TIPOL_LANR
- 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
= 'TABCOLANR'
pk_field
public
mixed
pk_field
= 'EMPRE_LANR'
sanitize
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= []
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= []
Properties
$COMPE_LANR
private
mixed
$COMPE_LANR
$CONTA_LANR
private
mixed
$CONTA_LANR
$DOCUM_LANR
private
mixed
$DOCUM_LANR
$EMPRE_LANR
private
mixed
$EMPRE_LANR
$IDSISTEMAGERE
private
mixed
$IDSISTEMAGERE
$IMOVE_LANR
private
mixed
$IMOVE_LANR
$NLOTE_LANR
private
mixed
$NLOTE_LANR
$NODIA_LANR
private
mixed
$NODIA_LANR
$NUDOC_LANR
private
mixed
$NUDOC_LANR
$NUMER_LANR
private
mixed
$NUMER_LANR
$ORDEM_LANR
private
mixed
$ORDEM_LANR
$PARTI_LANR
private
mixed
$PARTI_LANR
$PLANO_LANR
private
mixed
$PLANO_LANR
$TIPOL_LANR
private
mixed
$TIPOL_LANR
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
getCOMPE_LANR()
Get the value of COMPE_LANR
public
getCOMPE_LANR() : 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
getCONTA_LANR()
Get the value of CONTA_LANR
public
getCONTA_LANR() : mixed
getDatabase()
public
getDatabase() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDOCUM_LANR()
Get the value of DOCUM_LANR
public
getDOCUM_LANR() : mixed
getEMPRE_LANR()
Get the value of EMPRE_LANR
public
getEMPRE_LANR() : mixed
getIDSISTEMAGERE()
Get the value of IDSISTEMAGERE
public
getIDSISTEMAGERE() : mixed
getIMOVE_LANR()
Get the value of IMOVE_LANR
public
getIMOVE_LANR() : mixed
getNLOTE_LANR()
Get the value of NLOTE_LANR
public
getNLOTE_LANR() : mixed
getNODIA_LANR()
Get the value of NODIA_LANR
public
getNODIA_LANR() : mixed
getNUDOC_LANR()
Get the value of NUDOC_LANR
public
getNUDOC_LANR() : mixed
getNUMER_LANR()
Get the value of NUMER_LANR
public
getNUMER_LANR() : mixed
getORDEM_LANR()
Get the value of ORDEM_LANR
public
getORDEM_LANR() : mixed
getPARTI_LANR()
Get the value of PARTI_LANR
public
getPARTI_LANR() : mixed
getPLANO_LANR()
Get the value of PLANO_LANR
public
getPLANO_LANR() : mixed
getTable()
public
getTable() : mixed
getTIPOL_LANR()
Get the value of TIPOL_LANR
public
getTIPOL_LANR() : 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
setCOMPE_LANR()
Set the value of COMPE_LANR
public
setCOMPE_LANR(mixed $COMPE_LANR) : self
Parameters
- $COMPE_LANR : mixed
Return values
selfsetCONTA_LANR()
Set the value of CONTA_LANR
public
setCONTA_LANR(mixed $CONTA_LANR) : self
Parameters
- $CONTA_LANR : mixed
Return values
selfsetDOCUM_LANR()
Set the value of DOCUM_LANR
public
setDOCUM_LANR(mixed $DOCUM_LANR) : self
Parameters
- $DOCUM_LANR : mixed
Return values
selfsetEMPRE_LANR()
Set the value of EMPRE_LANR
public
setEMPRE_LANR(mixed $EMPRE_LANR) : self
Parameters
- $EMPRE_LANR : mixed
Return values
selfsetIDSISTEMAGERE()
Set the value of IDSISTEMAGERE
public
setIDSISTEMAGERE(mixed $IDSISTEMAGERE) : self
Parameters
- $IDSISTEMAGERE : mixed
Return values
selfsetIMOVE_LANR()
Set the value of IMOVE_LANR
public
setIMOVE_LANR(mixed $IMOVE_LANR) : self
Parameters
- $IMOVE_LANR : mixed
Return values
selfsetNLOTE_LANR()
Set the value of NLOTE_LANR
public
setNLOTE_LANR(mixed $NLOTE_LANR) : self
Parameters
- $NLOTE_LANR : mixed
Return values
selfsetNODIA_LANR()
Set the value of NODIA_LANR
public
setNODIA_LANR(mixed $NODIA_LANR) : self
Parameters
- $NODIA_LANR : mixed
Return values
selfsetNUDOC_LANR()
Set the value of NUDOC_LANR
public
setNUDOC_LANR(mixed $NUDOC_LANR) : self
Parameters
- $NUDOC_LANR : mixed
Return values
selfsetNUMER_LANR()
Set the value of NUMER_LANR
public
setNUMER_LANR(mixed $NUMER_LANR) : self
Parameters
- $NUMER_LANR : mixed
Return values
selfsetORDEM_LANR()
Set the value of ORDEM_LANR
public
setORDEM_LANR(mixed $ORDEM_LANR) : self
Parameters
- $ORDEM_LANR : mixed
Return values
selfsetPARTI_LANR()
Set the value of PARTI_LANR
public
setPARTI_LANR(mixed $PARTI_LANR) : self
Parameters
- $PARTI_LANR : mixed
Return values
selfsetPLANO_LANR()
Set the value of PLANO_LANR
public
setPLANO_LANR(mixed $PLANO_LANR) : self
Parameters
- $PLANO_LANR : mixed
Return values
selfsetTIPOL_LANR()
Set the value of TIPOL_LANR
public
setTIPOL_LANR(mixed $TIPOL_LANR) : self
Parameters
- $TIPOL_LANR : 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 = '*'