Documentation

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

security

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

public mixed security = []

tracking

public mixed tracking = true

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

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_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

setCOMPE_LANR()

Set the value of COMPE_LANR

public setCOMPE_LANR(mixed $COMPE_LANR) : self
Parameters
$COMPE_LANR : mixed
Return values
self

setCONTA_LANR()

Set the value of CONTA_LANR

public setCONTA_LANR(mixed $CONTA_LANR) : self
Parameters
$CONTA_LANR : mixed
Return values
self

setDOCUM_LANR()

Set the value of DOCUM_LANR

public setDOCUM_LANR(mixed $DOCUM_LANR) : self
Parameters
$DOCUM_LANR : mixed
Return values
self

setEMPRE_LANR()

Set the value of EMPRE_LANR

public setEMPRE_LANR(mixed $EMPRE_LANR) : self
Parameters
$EMPRE_LANR : mixed
Return values
self

setIDSISTEMAGERE()

Set the value of IDSISTEMAGERE

public setIDSISTEMAGERE(mixed $IDSISTEMAGERE) : self
Parameters
$IDSISTEMAGERE : mixed
Return values
self

setIMOVE_LANR()

Set the value of IMOVE_LANR

public setIMOVE_LANR(mixed $IMOVE_LANR) : self
Parameters
$IMOVE_LANR : mixed
Return values
self

setNLOTE_LANR()

Set the value of NLOTE_LANR

public setNLOTE_LANR(mixed $NLOTE_LANR) : self
Parameters
$NLOTE_LANR : mixed
Return values
self

setNODIA_LANR()

Set the value of NODIA_LANR

public setNODIA_LANR(mixed $NODIA_LANR) : self
Parameters
$NODIA_LANR : mixed
Return values
self

setNUDOC_LANR()

Set the value of NUDOC_LANR

public setNUDOC_LANR(mixed $NUDOC_LANR) : self
Parameters
$NUDOC_LANR : mixed
Return values
self

setNUMER_LANR()

Set the value of NUMER_LANR

public setNUMER_LANR(mixed $NUMER_LANR) : self
Parameters
$NUMER_LANR : mixed
Return values
self

setORDEM_LANR()

Set the value of ORDEM_LANR

public setORDEM_LANR(mixed $ORDEM_LANR) : self
Parameters
$ORDEM_LANR : mixed
Return values
self

setPARTI_LANR()

Set the value of PARTI_LANR

public setPARTI_LANR(mixed $PARTI_LANR) : self
Parameters
$PARTI_LANR : mixed
Return values
self

setPLANO_LANR()

Set the value of PLANO_LANR

public setPLANO_LANR(mixed $PLANO_LANR) : self
Parameters
$PLANO_LANR : mixed
Return values
self

setTIPOL_LANR()

Set the value of TIPOL_LANR

public setTIPOL_LANR(mixed $TIPOL_LANR) : self
Parameters
$TIPOL_LANR : 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