Documentation

ContasPrevisaoItemBackupEntity extends Entity
in package

Table of Contents

Constants

auditlog  = ['exclude_fields' => ['*']]
Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
const_values  = []
database  = \config\Config::DB_DEFAULT
db_table  = 'finan_contas_previsao_item_backup'
pk_field  = 'idContasPrevItemBackup'
sanitize  = []
security  = ['select' => 'core\EntitySecurity::securitySelect', 'delete' => 'core\EntitySecurity::securityDelete', 'update' => 'core\EntitySecurity::securityUpdate', 'insert' => 'core\EntitySecurity::securityInsert']
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
tracking  = true
validations  = []

Properties

$anexo  : mixed
$AnoAgricola  : mixed
$ciclo  : mixed
$DataHora  : mixed
$dataHoraUpdateRateioFazenda  : mixed
$dataHoraUpdateRateioNegocio  : mixed
$DataVecto  : mixed
$descricao  : mixed
$idContasPrevBackup  : mixed
$idContasPrevItemBackup  : mixed
$idFazenda  : mixed
$idNegocio  : mixed
$idPlanoConta  : mixed
$idUnidadeNegocio  : mixed
$idUsuario  : mixed
$idUsuarioUpdateRateioFazenda  : mixed
$idUsuarioUpdateRateioNegocio  : mixed
$Juros  : mixed
$MesAno  : mixed
$rateioFazenda  : mixed
$rateioNegocio  : mixed
$VlrPagar  : mixed

Methods

__construct()  : mixed
delete()  : mixed
delete_where()  : mixed
getAnexo()  : mixed
Get the value of anexo
getAnoAgricola()  : mixed
Get the value of AnoAgricola
getAuditlog()  : mixed
getCiclo()  : mixed
Get the value of ciclo
getConst()  : mixed
getConstObj()  : mixed
getDatabase()  : mixed
getDataHora()  : mixed
Get the value of DataHora
getDataHoraUpdateRateioFazenda()  : mixed
Get the value of dataHoraUpdateRateioFazenda
getDataHoraUpdateRateioNegocio()  : mixed
Get the value of dataHoraUpdateRateioNegocio
getDataVecto()  : mixed
Get the value of DataVecto
getDBDriver()  : mixed
getDBTable()  : mixed
getDescricao()  : mixed
Get the value of descricao
getIdContasPrevBackup()  : mixed
Get the value of idContasPrevBackup
getIdContasPrevItemBackup()  : mixed
Get the value of idContasPrevItemBackup
getIdFazenda()  : mixed
Get the value of idFazenda
getIdNegocio()  : mixed
Get the value of idNegocio
getIdPlanoConta()  : mixed
Get the value of idPlanoConta
getIdUnidadeNegocio()  : mixed
Get the value of idUnidadeNegocio
getIdUsuario()  : mixed
Get the value of idUsuario
getIdUsuarioUpdateRateioFazenda()  : mixed
Get the value of idUsuarioUpdateRateioFazenda
getIdUsuarioUpdateRateioNegocio()  : mixed
Get the value of idUsuarioUpdateRateioNegocio
getJuros()  : mixed
Get the value of Juros
getMesAno()  : mixed
Get the value of MesAno
getRateioFazenda()  : mixed
Get the value of rateioFazenda
getRateioNegocio()  : mixed
Get the value of rateioNegocio
getTable()  : mixed
getVlrPagar()  : mixed
Get the value of VlrPagar
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
setAnexo()  : self
Set the value of anexo
setAnoAgricola()  : self
Set the value of AnoAgricola
setCiclo()  : self
Set the value of ciclo
setDataHora()  : self
Set the value of DataHora
setDataHoraUpdateRateioFazenda()  : self
Set the value of dataHoraUpdateRateioFazenda
setDataHoraUpdateRateioNegocio()  : self
Set the value of dataHoraUpdateRateioNegocio
setDataVecto()  : self
Set the value of DataVecto
setDescricao()  : self
Set the value of descricao
setIdContasPrevBackup()  : self
Set the value of idContasPrevBackup
setIdContasPrevItemBackup()  : self
Set the value of idContasPrevItemBackup
setIdFazenda()  : self
Set the value of idFazenda
setIdNegocio()  : self
Set the value of idNegocio
setIdPlanoConta()  : self
Set the value of idPlanoConta
setIdUnidadeNegocio()  : self
Set the value of idUnidadeNegocio
setIdUsuario()  : self
Set the value of idUsuario
setIdUsuarioUpdateRateioFazenda()  : self
Set the value of idUsuarioUpdateRateioFazenda
setIdUsuarioUpdateRateioNegocio()  : self
Set the value of idUsuarioUpdateRateioNegocio
setJuros()  : self
Set the value of Juros
setMesAno()  : self
Set the value of MesAno
setRateioFazenda()  : self
Set the value of rateioFazenda
setRateioNegocio()  : self
Set the value of rateioNegocio
setVlrPagar()  : self
Set the value of VlrPagar
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

const_values

public mixed const_values = []

database

public mixed database = \config\Config::DB_DEFAULT

security

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

public mixed security = ['select' => 'core\EntitySecurity::securitySelect', 'delete' => 'core\EntitySecurity::securityDelete', 'update' => 'core\EntitySecurity::securityUpdate', 'insert' => 'core\EntitySecurity::securityInsert']

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

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

getIdUsuarioUpdateRateioFazenda()

Get the value of idUsuarioUpdateRateioFazenda

public getIdUsuarioUpdateRateioFazenda() : mixed

getIdUsuarioUpdateRateioNegocio()

Get the value of idUsuarioUpdateRateioNegocio

public getIdUsuarioUpdateRateioNegocio() : mixed

getTable()

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

setAnoAgricola()

Set the value of AnoAgricola

public setAnoAgricola(mixed $AnoAgricola) : self
Parameters
$AnoAgricola : mixed
Return values
self

setDataHora()

Set the value of DataHora

public setDataHora(mixed $DataHora) : self
Parameters
$DataHora : mixed
Return values
self

setDataHoraUpdateRateioFazenda()

Set the value of dataHoraUpdateRateioFazenda

public setDataHoraUpdateRateioFazenda(mixed $dataHoraUpdateRateioFazenda) : self
Parameters
$dataHoraUpdateRateioFazenda : mixed
Return values
self

setDataHoraUpdateRateioNegocio()

Set the value of dataHoraUpdateRateioNegocio

public setDataHoraUpdateRateioNegocio(mixed $dataHoraUpdateRateioNegocio) : self
Parameters
$dataHoraUpdateRateioNegocio : mixed
Return values
self

setDataVecto()

Set the value of DataVecto

public setDataVecto(mixed $DataVecto) : self
Parameters
$DataVecto : mixed
Return values
self

setDescricao()

Set the value of descricao

public setDescricao(mixed $descricao) : self
Parameters
$descricao : mixed
Return values
self

setIdContasPrevBackup()

Set the value of idContasPrevBackup

public setIdContasPrevBackup(mixed $idContasPrevBackup) : self
Parameters
$idContasPrevBackup : mixed
Return values
self

setIdContasPrevItemBackup()

Set the value of idContasPrevItemBackup

public setIdContasPrevItemBackup(mixed $idContasPrevItemBackup) : self
Parameters
$idContasPrevItemBackup : mixed
Return values
self

setIdFazenda()

Set the value of idFazenda

public setIdFazenda(mixed $idFazenda) : self
Parameters
$idFazenda : mixed
Return values
self

setIdNegocio()

Set the value of idNegocio

public setIdNegocio(mixed $idNegocio) : self
Parameters
$idNegocio : mixed
Return values
self

setIdPlanoConta()

Set the value of idPlanoConta

public setIdPlanoConta(mixed $idPlanoConta) : self
Parameters
$idPlanoConta : mixed
Return values
self

setIdUnidadeNegocio()

Set the value of idUnidadeNegocio

public setIdUnidadeNegocio(mixed $idUnidadeNegocio) : self
Parameters
$idUnidadeNegocio : mixed
Return values
self

setIdUsuario()

Set the value of idUsuario

public setIdUsuario(mixed $idUsuario) : self
Parameters
$idUsuario : mixed
Return values
self

setIdUsuarioUpdateRateioFazenda()

Set the value of idUsuarioUpdateRateioFazenda

public setIdUsuarioUpdateRateioFazenda(mixed $idUsuarioUpdateRateioFazenda) : self
Parameters
$idUsuarioUpdateRateioFazenda : mixed
Return values
self

setIdUsuarioUpdateRateioNegocio()

Set the value of idUsuarioUpdateRateioNegocio

public setIdUsuarioUpdateRateioNegocio(mixed $idUsuarioUpdateRateioNegocio) : self
Parameters
$idUsuarioUpdateRateioNegocio : mixed
Return values
self

setRateioFazenda()

Set the value of rateioFazenda

public setRateioFazenda(mixed $rateioFazenda) : self
Parameters
$rateioFazenda : mixed
Return values
self

setRateioNegocio()

Set the value of rateioNegocio

public setRateioNegocio(mixed $rateioNegocio) : self
Parameters
$rateioNegocio : mixed
Return values
self

setVlrPagar()

Set the value of VlrPagar

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