ContasBancariasRemessaRecebimentoItemEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = []
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_DEFAULT
- db_table = 'finan_contasbancarias_remessa_recebimento_item'
- pk_field = 'idRemessaRecebimentoItem'
- sanitize = []
- Estrutura = ['key' => 'rule']
- security = []
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = []
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $conteudo : mixed
- $descricaoCampo : mixed
- $idRemessaRecebimento : mixed
- $idRemessaRecebimentoItem : mixed
- $idSegmento : mixed
- $ordem : mixed
- $posicaoFinal : mixed
- $posicaoInicial : mixed
- $registro : mixed
- $tamanhoCampo : mixed
- $tipoConteudo : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getConst() : mixed
- getConstObj() : mixed
- getConteudo() : mixed
- Get the value of conteudo
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescricaoCampo() : mixed
- Get the value of descricaoCampo
- getIdRemessaRecebimento() : mixed
- Get the value of idRemessaRecebimento
- getIdRemessaRecebimentoItem() : mixed
- Get the value of idRemessaRecebimentoItem
- getIdSegmento() : mixed
- Get the value of idSegmento
- getOrdem() : mixed
- Get the value of ordem
- getPosicaoFinal() : mixed
- Get the value of posicaoFinal
- getPosicaoInicial() : mixed
- Get the value of posicaoInicial
- getRegistro() : mixed
- Get the value of registro
- getTable() : mixed
- getTamanhoCampo() : mixed
- Get the value of tamanhoCampo
- getTipoConteudo() : mixed
- Get the value of tipoConteudo
- 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
- setConteudo() : self
- Set the value of conteudo
- setDescricaoCampo() : self
- Set the value of descricaoCampo
- setIdRemessaRecebimento() : self
- Set the value of idRemessaRecebimento
- setIdRemessaRecebimentoItem() : self
- Set the value of idRemessaRecebimentoItem
- setIdSegmento() : self
- Set the value of idSegmento
- setOrdem() : self
- Set the value of ordem
- setPosicaoFinal() : self
- Set the value of posicaoFinal
- setPosicaoInicial() : self
- Set the value of posicaoInicial
- setRegistro() : self
- Set the value of registro
- setTamanhoCampo() : self
- Set the value of tamanhoCampo
- setTipoConteudo() : self
- Set the value of tipoConteudo
- 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_DEFAULT
db_table
public
mixed
db_table
= 'finan_contasbancarias_remessa_recebimento_item'
pk_field
public
mixed
pk_field
= 'idRemessaRecebimentoItem'
sanitize
Estrutura = ['key' => 'rule']
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= []
tracking
public
mixed
tracking
= true
validations
Estrutura = ['key' => ['keyRule' => 'Rule message']]
public
mixed
validations
= []
Properties
$conteudo
private
mixed
$conteudo
$descricaoCampo
private
mixed
$descricaoCampo
$idRemessaRecebimento
private
mixed
$idRemessaRecebimento
$idRemessaRecebimentoItem
private
mixed
$idRemessaRecebimentoItem
$idSegmento
private
mixed
$idSegmento
$ordem
private
mixed
$ordem
$posicaoFinal
private
mixed
$posicaoFinal
$posicaoInicial
private
mixed
$posicaoInicial
$registro
private
mixed
$registro
$tamanhoCampo
private
mixed
$tamanhoCampo
$tipoConteudo
private
mixed
$tipoConteudo
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
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
getConteudo()
Get the value of conteudo
public
getConteudo() : mixed
getDatabase()
public
getDatabase() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescricaoCampo()
Get the value of descricaoCampo
public
getDescricaoCampo() : mixed
getIdRemessaRecebimento()
Get the value of idRemessaRecebimento
public
getIdRemessaRecebimento() : mixed
getIdRemessaRecebimentoItem()
Get the value of idRemessaRecebimentoItem
public
getIdRemessaRecebimentoItem() : mixed
getIdSegmento()
Get the value of idSegmento
public
getIdSegmento() : mixed
getOrdem()
Get the value of ordem
public
getOrdem() : mixed
getPosicaoFinal()
Get the value of posicaoFinal
public
getPosicaoFinal() : mixed
getPosicaoInicial()
Get the value of posicaoInicial
public
getPosicaoInicial() : mixed
getRegistro()
Get the value of registro
public
getRegistro() : mixed
getTable()
public
getTable() : mixed
getTamanhoCampo()
Get the value of tamanhoCampo
public
getTamanhoCampo() : mixed
getTipoConteudo()
Get the value of tipoConteudo
public
getTipoConteudo() : 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
setConteudo()
Set the value of conteudo
public
setConteudo(mixed $conteudo) : self
Parameters
- $conteudo : mixed
Return values
selfsetDescricaoCampo()
Set the value of descricaoCampo
public
setDescricaoCampo(mixed $descricaoCampo) : self
Parameters
- $descricaoCampo : mixed
Return values
selfsetIdRemessaRecebimento()
Set the value of idRemessaRecebimento
public
setIdRemessaRecebimento(mixed $idRemessaRecebimento) : self
Parameters
- $idRemessaRecebimento : mixed
Return values
selfsetIdRemessaRecebimentoItem()
Set the value of idRemessaRecebimentoItem
public
setIdRemessaRecebimentoItem(mixed $idRemessaRecebimentoItem) : self
Parameters
- $idRemessaRecebimentoItem : mixed
Return values
selfsetIdSegmento()
Set the value of idSegmento
public
setIdSegmento(mixed $idSegmento) : self
Parameters
- $idSegmento : mixed
Return values
selfsetOrdem()
Set the value of ordem
public
setOrdem(mixed $ordem) : self
Parameters
- $ordem : mixed
Return values
selfsetPosicaoFinal()
Set the value of posicaoFinal
public
setPosicaoFinal(mixed $posicaoFinal) : self
Parameters
- $posicaoFinal : mixed
Return values
selfsetPosicaoInicial()
Set the value of posicaoInicial
public
setPosicaoInicial(mixed $posicaoInicial) : self
Parameters
- $posicaoInicial : mixed
Return values
selfsetRegistro()
Set the value of registro
public
setRegistro(mixed $registro) : self
Parameters
- $registro : mixed
Return values
selfsetTamanhoCampo()
Set the value of tamanhoCampo
public
setTamanhoCampo(mixed $tamanhoCampo) : self
Parameters
- $tamanhoCampo : mixed
Return values
selfsetTipoConteudo()
Set the value of tipoConteudo
public
setTipoConteudo(mixed $tipoConteudo) : self
Parameters
- $tipoConteudo : 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 = '*'