Documentation

SysnfeProdutoEntity extends Entity
in package

Table of Contents

Constants

auditlog  = ['exclude_fields' => ['*']]
Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
const_values  = []
database  = \config\Config::DB_NFE
db_table  = 'produto'
pk_field  = 'cProd'
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

$cBenef  : mixed
$cEan  : mixed
$cEnq  : mixed
$CEST  : mixed
$CFOP  : mixed
$clEnq  : mixed
$CNPJProd  : mixed
$cProd  : mixed
$cProdANP  : mixed
$cProdForn  : mixed
$cSelo  : mixed
$CST  : mixed
$CSTCOFINS  : mixed
$CSTIPI  : mixed
$CSTPIS  : mixed
$descANP  : mixed
$infAdProd  : mixed
$modBC  : mixed
$modBCST  : mixed
$motDesICMS  : mixed
$NCM  : mixed
$orig  : mixed
$pBCOP  : mixed
$pCOFINS  : mixed
$pCOFINSST  : mixed
$pCredSN  : mixed
$pDif  : mixed
$pICMS  : mixed
$pICMSST  : mixed
$pIPI  : mixed
$pMVAST  : mixed
$pPIS  : mixed
$pPISST  : mixed
$pRedBC  : mixed
$pRedBCST  : mixed
$qBCProdCOFINS  : mixed
$qBCProdCOFINSST  : mixed
$qBCProdPIS  : mixed
$qBCProdPISST  : mixed
$qSelo  : mixed
$qUnidIPI  : mixed
$uCom  : mixed
$UFCons  : mixed
$uTrib  : mixed
$vAliqProdCOFINS  : mixed
$vAliqProdCOFINSST  : mixed
$vAliqProdPIS  : mixed
$vAliqProdPISST  : mixed
$vBC  : mixed
$vBCCOFINS  : mixed
$vBCCOFINSST  : mixed
$vBCIPI  : mixed
$vBCPIS  : mixed
$vBCPISST  : mixed
$vBCST1  : mixed
$vCOFINS  : mixed
$vCOFINSST  : mixed
$vCredICMSSN  : mixed
$vDesc  : mixed
$vICMS  : mixed
$vICMSDeson  : mixed
$vICMSDif  : mixed
$vICMSOp  : mixed
$vICMSST  : mixed
$vIPI  : mixed
$vPIS  : mixed
$vProd  : mixed
$vTrib  : mixed
$vUnidIPI  : mixed
$xProd  : mixed

Methods

__construct()  : mixed
delete()  : mixed
delete_where()  : mixed
getAuditlog()  : mixed
getCBenef()  : mixed
Get the value of cBenef
getCEan()  : mixed
Get the value of cEan
getCEnq()  : mixed
Get the value of cEnq
getCEST()  : mixed
Get the value of CEST
getCFOP()  : mixed
Get the value of CFOP
getClEnq()  : mixed
Get the value of clEnq
getCNPJProd()  : mixed
Get the value of CNPJProd
getConst()  : mixed
getConstObj()  : mixed
getCProd()  : mixed
Get the value of cProd
getCProdANP()  : mixed
Get the value of cProdANP
getCProdForn()  : mixed
Get the value of cProdForn
getCSelo()  : mixed
Get the value of cSelo
getCST()  : mixed
Get the value of CST
getCSTCOFINS()  : mixed
Get the value of CSTCOFINS
getCSTIPI()  : mixed
Get the value of CSTIPI
getCSTPIS()  : mixed
Get the value of CSTPIS
getDatabase()  : mixed
getDBDriver()  : mixed
getDBTable()  : mixed
getDescANP()  : mixed
Get the value of descANP
getInfAdProd()  : mixed
Get the value of infAdProd
getModBC()  : mixed
Get the value of modBC
getModBCST()  : mixed
Get the value of modBCST
getMotDesICMS()  : mixed
Get the value of motDesICMS
getNCM()  : mixed
Get the value of NCM
getOrig()  : mixed
Get the value of orig
getPBCOP()  : mixed
Get the value of pBCOP
getPCOFINS()  : mixed
Get the value of pCOFINS
getPCOFINSST()  : mixed
Get the value of pCOFINSST
getPCredSN()  : mixed
Get the value of pCredSN
getPDif()  : mixed
Get the value of pDif
getPICMS()  : mixed
Get the value of pICMS
getPICMSST()  : mixed
Get the value of pICMSST
getPIPI()  : mixed
Get the value of pIPI
getPMVAST()  : mixed
Get the value of pMVAST
getPPIS()  : mixed
Get the value of pPIS
getPPISST()  : mixed
Get the value of pPISST
getPRedBC()  : mixed
Get the value of pRedBC
getPRedBCST()  : mixed
Get the value of pRedBCST
getQBCProdCOFINS()  : mixed
Get the value of qBCProdCOFINS
getQBCProdCOFINSST()  : mixed
Get the value of qBCProdCOFINSST
getQBCProdPIS()  : mixed
Get the value of qBCProdPIS
getQBCProdPISST()  : mixed
Get the value of qBCProdPISST
getQSelo()  : mixed
Get the value of qSelo
getQUnidIPI()  : mixed
Get the value of qUnidIPI
getTable()  : mixed
getUCom()  : mixed
Get the value of uCom
getUFCons()  : mixed
Get the value of UFCons
getUTrib()  : mixed
Get the value of uTrib
getVAliqProdCOFINS()  : mixed
Get the value of vAliqProdCOFINS
getVAliqProdCOFINSST()  : mixed
Get the value of vAliqProdCOFINSST
getVAliqProdPIS()  : mixed
Get the value of vAliqProdPIS
getVAliqProdPISST()  : mixed
Get the value of vAliqProdPISST
getVBC()  : mixed
Get the value of vBC
getVBCCOFINS()  : mixed
Get the value of vBCCOFINS
getVBCCOFINSST()  : mixed
Get the value of vBCCOFINSST
getVBCIPI()  : mixed
Get the value of vBCIPI
getVBCPIS()  : mixed
Get the value of vBCPIS
getVBCPISST()  : mixed
Get the value of vBCPISST
getVBCST1()  : mixed
Get the value of vBCST1
getVCOFINS()  : mixed
Get the value of vCOFINS
getVCOFINSST()  : mixed
Get the value of vCOFINSST
getVCredICMSSN()  : mixed
Get the value of vCredICMSSN
getVDesc()  : mixed
Get the value of vDesc
getVICMS()  : mixed
Get the value of vICMS
getVICMSDeson()  : mixed
Get the value of vICMSDeson
getVICMSDif()  : mixed
Get the value of vICMSDif
getVICMSOp()  : mixed
Get the value of vICMSOp
getVICMSST()  : mixed
Get the value of vICMSST
getVIPI()  : mixed
Get the value of vIPI
getVPIS()  : mixed
Get the value of vPIS
getVProd()  : mixed
Get the value of vProd
getVTrib()  : mixed
Get the value of vTrib
getVUnidIPI()  : mixed
Get the value of vUnidIPI
getXProd()  : mixed
Get the value of xProd
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
setCBenef()  : self
Set the value of cBenef
setCEan()  : self
Set the value of cEan
setCEnq()  : self
Set the value of cEnq
setCEST()  : self
Set the value of CEST
setCFOP()  : self
Set the value of CFOP
setClEnq()  : self
Set the value of clEnq
setCNPJProd()  : self
Set the value of CNPJProd
setCProd()  : self
Set the value of cProd
setCProdANP()  : self
Set the value of cProdANP
setCProdForn()  : self
Set the value of cProdForn
setCSelo()  : self
Set the value of cSelo
setCST()  : self
Set the value of CST
setCSTCOFINS()  : self
Set the value of CSTCOFINS
setCSTIPI()  : self
Set the value of CSTIPI
setCSTPIS()  : self
Set the value of CSTPIS
setDescANP()  : self
Set the value of descANP
setInfAdProd()  : self
Set the value of infAdProd
setModBC()  : self
Set the value of modBC
setModBCST()  : self
Set the value of modBCST
setMotDesICMS()  : self
Set the value of motDesICMS
setNCM()  : self
Set the value of NCM
setOrig()  : self
Set the value of orig
setPBCOP()  : self
Set the value of pBCOP
setPCOFINS()  : self
Set the value of pCOFINS
setPCOFINSST()  : self
Set the value of pCOFINSST
setPCredSN()  : self
Set the value of pCredSN
setPDif()  : self
Set the value of pDif
setPICMS()  : self
Set the value of pICMS
setPICMSST()  : self
Set the value of pICMSST
setPIPI()  : self
Set the value of pIPI
setPMVAST()  : self
Set the value of pMVAST
setPPIS()  : self
Set the value of pPIS
setPPISST()  : self
Set the value of pPISST
setPRedBC()  : self
Set the value of pRedBC
setPRedBCST()  : self
Set the value of pRedBCST
setQBCProdCOFINS()  : self
Set the value of qBCProdCOFINS
setQBCProdCOFINSST()  : self
Set the value of qBCProdCOFINSST
setQBCProdPIS()  : self
Set the value of qBCProdPIS
setQBCProdPISST()  : self
Set the value of qBCProdPISST
setQSelo()  : self
Set the value of qSelo
setQUnidIPI()  : self
Set the value of qUnidIPI
setUCom()  : self
Set the value of uCom
setUFCons()  : self
Set the value of UFCons
setUTrib()  : self
Set the value of uTrib
setVAliqProdCOFINS()  : self
Set the value of vAliqProdCOFINS
setVAliqProdCOFINSST()  : self
Set the value of vAliqProdCOFINSST
setVAliqProdPIS()  : self
Set the value of vAliqProdPIS
setVAliqProdPISST()  : self
Set the value of vAliqProdPISST
setVBC()  : self
Set the value of vBC
setVBCCOFINS()  : self
Set the value of vBCCOFINS
setVBCCOFINSST()  : self
Set the value of vBCCOFINSST
setVBCIPI()  : self
Set the value of vBCIPI
setVBCPIS()  : self
Set the value of vBCPIS
setVBCPISST()  : self
Set the value of vBCPISST
setVBCST1()  : self
Set the value of vBCST1
setVCOFINS()  : self
Set the value of vCOFINS
setVCOFINSST()  : self
Set the value of vCOFINSST
setVCredICMSSN()  : self
Set the value of vCredICMSSN
setVDesc()  : self
Set the value of vDesc
setVICMS()  : self
Set the value of vICMS
setVICMSDeson()  : self
Set the value of vICMSDeson
setVICMSDif()  : self
Set the value of vICMSDif
setVICMSOp()  : self
Set the value of vICMSOp
setVICMSST()  : self
Set the value of vICMSST
setVIPI()  : self
Set the value of vIPI
setVPIS()  : self
Set the value of vPIS
setVProd()  : self
Set the value of vProd
setVTrib()  : self
Set the value of vTrib
setVUnidIPI()  : self
Set the value of vUnidIPI
setXProd()  : self
Set the value of xProd
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 = ['exclude_fields' => ['*']]

const_values

public mixed const_values = []

sanitize

public mixed sanitize = []

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

validations

public mixed validations = []

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

getQBCProdCOFINS()

Get the value of qBCProdCOFINS

public getQBCProdCOFINS() : mixed

getQBCProdCOFINSST()

Get the value of qBCProdCOFINSST

public getQBCProdCOFINSST() : mixed

getTable()

public getTable() : mixed

getVAliqProdCOFINS()

Get the value of vAliqProdCOFINS

public getVAliqProdCOFINS() : mixed

getVAliqProdCOFINSST()

Get the value of vAliqProdCOFINSST

public getVAliqProdCOFINSST() : mixed

getVAliqProdPISST()

Get the value of vAliqProdPISST

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

setCBenef()

Set the value of cBenef

public setCBenef(mixed $cBenef) : self
Parameters
$cBenef : mixed
Return values
self

setCEan()

Set the value of cEan

public setCEan(mixed $cEan) : self
Parameters
$cEan : mixed
Return values
self

setCEnq()

Set the value of cEnq

public setCEnq(mixed $cEnq) : self
Parameters
$cEnq : mixed
Return values
self

setCEST()

Set the value of CEST

public setCEST(mixed $CEST) : self
Parameters
$CEST : mixed
Return values
self

setCFOP()

Set the value of CFOP

public setCFOP(mixed $CFOP) : self
Parameters
$CFOP : mixed
Return values
self

setClEnq()

Set the value of clEnq

public setClEnq(mixed $clEnq) : self
Parameters
$clEnq : mixed
Return values
self

setCNPJProd()

Set the value of CNPJProd

public setCNPJProd(mixed $CNPJProd) : self
Parameters
$CNPJProd : mixed
Return values
self

setCProd()

Set the value of cProd

public setCProd(mixed $cProd) : self
Parameters
$cProd : mixed
Return values
self

setCProdANP()

Set the value of cProdANP

public setCProdANP(mixed $cProdANP) : self
Parameters
$cProdANP : mixed
Return values
self

setCProdForn()

Set the value of cProdForn

public setCProdForn(mixed $cProdForn) : self
Parameters
$cProdForn : mixed
Return values
self

setCSelo()

Set the value of cSelo

public setCSelo(mixed $cSelo) : self
Parameters
$cSelo : mixed
Return values
self

setCST()

Set the value of CST

public setCST(mixed $CST) : self
Parameters
$CST : mixed
Return values
self

setCSTCOFINS()

Set the value of CSTCOFINS

public setCSTCOFINS(mixed $CSTCOFINS) : self
Parameters
$CSTCOFINS : mixed
Return values
self

setCSTIPI()

Set the value of CSTIPI

public setCSTIPI(mixed $CSTIPI) : self
Parameters
$CSTIPI : mixed
Return values
self

setCSTPIS()

Set the value of CSTPIS

public setCSTPIS(mixed $CSTPIS) : self
Parameters
$CSTPIS : mixed
Return values
self

setDescANP()

Set the value of descANP

public setDescANP(mixed $descANP) : self
Parameters
$descANP : mixed
Return values
self

setInfAdProd()

Set the value of infAdProd

public setInfAdProd(mixed $infAdProd) : self
Parameters
$infAdProd : mixed
Return values
self

setModBC()

Set the value of modBC

public setModBC(mixed $modBC) : self
Parameters
$modBC : mixed
Return values
self

setModBCST()

Set the value of modBCST

public setModBCST(mixed $modBCST) : self
Parameters
$modBCST : mixed
Return values
self

setMotDesICMS()

Set the value of motDesICMS

public setMotDesICMS(mixed $motDesICMS) : self
Parameters
$motDesICMS : mixed
Return values
self

setNCM()

Set the value of NCM

public setNCM(mixed $NCM) : self
Parameters
$NCM : mixed
Return values
self

setOrig()

Set the value of orig

public setOrig(mixed $orig) : self
Parameters
$orig : mixed
Return values
self

setPBCOP()

Set the value of pBCOP

public setPBCOP(mixed $pBCOP) : self
Parameters
$pBCOP : mixed
Return values
self

setPCOFINS()

Set the value of pCOFINS

public setPCOFINS(mixed $pCOFINS) : self
Parameters
$pCOFINS : mixed
Return values
self

setPCOFINSST()

Set the value of pCOFINSST

public setPCOFINSST(mixed $pCOFINSST) : self
Parameters
$pCOFINSST : mixed
Return values
self

setPCredSN()

Set the value of pCredSN

public setPCredSN(mixed $pCredSN) : self
Parameters
$pCredSN : mixed
Return values
self

setPDif()

Set the value of pDif

public setPDif(mixed $pDif) : self
Parameters
$pDif : mixed
Return values
self

setPICMS()

Set the value of pICMS

public setPICMS(mixed $pICMS) : self
Parameters
$pICMS : mixed
Return values
self

setPICMSST()

Set the value of pICMSST

public setPICMSST(mixed $pICMSST) : self
Parameters
$pICMSST : mixed
Return values
self

setPIPI()

Set the value of pIPI

public setPIPI(mixed $pIPI) : self
Parameters
$pIPI : mixed
Return values
self

setPMVAST()

Set the value of pMVAST

public setPMVAST(mixed $pMVAST) : self
Parameters
$pMVAST : mixed
Return values
self

setPPIS()

Set the value of pPIS

public setPPIS(mixed $pPIS) : self
Parameters
$pPIS : mixed
Return values
self

setPPISST()

Set the value of pPISST

public setPPISST(mixed $pPISST) : self
Parameters
$pPISST : mixed
Return values
self

setPRedBC()

Set the value of pRedBC

public setPRedBC(mixed $pRedBC) : self
Parameters
$pRedBC : mixed
Return values
self

setPRedBCST()

Set the value of pRedBCST

public setPRedBCST(mixed $pRedBCST) : self
Parameters
$pRedBCST : mixed
Return values
self

setQBCProdCOFINS()

Set the value of qBCProdCOFINS

public setQBCProdCOFINS(mixed $qBCProdCOFINS) : self
Parameters
$qBCProdCOFINS : mixed
Return values
self

setQBCProdCOFINSST()

Set the value of qBCProdCOFINSST

public setQBCProdCOFINSST(mixed $qBCProdCOFINSST) : self
Parameters
$qBCProdCOFINSST : mixed
Return values
self

setQBCProdPIS()

Set the value of qBCProdPIS

public setQBCProdPIS(mixed $qBCProdPIS) : self
Parameters
$qBCProdPIS : mixed
Return values
self

setQBCProdPISST()

Set the value of qBCProdPISST

public setQBCProdPISST(mixed $qBCProdPISST) : self
Parameters
$qBCProdPISST : mixed
Return values
self

setQSelo()

Set the value of qSelo

public setQSelo(mixed $qSelo) : self
Parameters
$qSelo : mixed
Return values
self

setQUnidIPI()

Set the value of qUnidIPI

public setQUnidIPI(mixed $qUnidIPI) : self
Parameters
$qUnidIPI : mixed
Return values
self

setUCom()

Set the value of uCom

public setUCom(mixed $uCom) : self
Parameters
$uCom : mixed
Return values
self

setUFCons()

Set the value of UFCons

public setUFCons(mixed $UFCons) : self
Parameters
$UFCons : mixed
Return values
self

setUTrib()

Set the value of uTrib

public setUTrib(mixed $uTrib) : self
Parameters
$uTrib : mixed
Return values
self

setVAliqProdCOFINS()

Set the value of vAliqProdCOFINS

public setVAliqProdCOFINS(mixed $vAliqProdCOFINS) : self
Parameters
$vAliqProdCOFINS : mixed
Return values
self

setVAliqProdCOFINSST()

Set the value of vAliqProdCOFINSST

public setVAliqProdCOFINSST(mixed $vAliqProdCOFINSST) : self
Parameters
$vAliqProdCOFINSST : mixed
Return values
self

setVAliqProdPIS()

Set the value of vAliqProdPIS

public setVAliqProdPIS(mixed $vAliqProdPIS) : self
Parameters
$vAliqProdPIS : mixed
Return values
self

setVAliqProdPISST()

Set the value of vAliqProdPISST

public setVAliqProdPISST(mixed $vAliqProdPISST) : self
Parameters
$vAliqProdPISST : mixed
Return values
self

setVBC()

Set the value of vBC

public setVBC(mixed $vBC) : self
Parameters
$vBC : mixed
Return values
self

setVBCCOFINS()

Set the value of vBCCOFINS

public setVBCCOFINS(mixed $vBCCOFINS) : self
Parameters
$vBCCOFINS : mixed
Return values
self

setVBCCOFINSST()

Set the value of vBCCOFINSST

public setVBCCOFINSST(mixed $vBCCOFINSST) : self
Parameters
$vBCCOFINSST : mixed
Return values
self

setVBCIPI()

Set the value of vBCIPI

public setVBCIPI(mixed $vBCIPI) : self
Parameters
$vBCIPI : mixed
Return values
self

setVBCPIS()

Set the value of vBCPIS

public setVBCPIS(mixed $vBCPIS) : self
Parameters
$vBCPIS : mixed
Return values
self

setVBCPISST()

Set the value of vBCPISST

public setVBCPISST(mixed $vBCPISST) : self
Parameters
$vBCPISST : mixed
Return values
self

setVBCST1()

Set the value of vBCST1

public setVBCST1(mixed $vBCST1) : self
Parameters
$vBCST1 : mixed
Return values
self

setVCOFINS()

Set the value of vCOFINS

public setVCOFINS(mixed $vCOFINS) : self
Parameters
$vCOFINS : mixed
Return values
self

setVCOFINSST()

Set the value of vCOFINSST

public setVCOFINSST(mixed $vCOFINSST) : self
Parameters
$vCOFINSST : mixed
Return values
self

setVCredICMSSN()

Set the value of vCredICMSSN

public setVCredICMSSN(mixed $vCredICMSSN) : self
Parameters
$vCredICMSSN : mixed
Return values
self

setVDesc()

Set the value of vDesc

public setVDesc(mixed $vDesc) : self
Parameters
$vDesc : mixed
Return values
self

setVICMS()

Set the value of vICMS

public setVICMS(mixed $vICMS) : self
Parameters
$vICMS : mixed
Return values
self

setVICMSDeson()

Set the value of vICMSDeson

public setVICMSDeson(mixed $vICMSDeson) : self
Parameters
$vICMSDeson : mixed
Return values
self

setVICMSDif()

Set the value of vICMSDif

public setVICMSDif(mixed $vICMSDif) : self
Parameters
$vICMSDif : mixed
Return values
self

setVICMSOp()

Set the value of vICMSOp

public setVICMSOp(mixed $vICMSOp) : self
Parameters
$vICMSOp : mixed
Return values
self

setVICMSST()

Set the value of vICMSST

public setVICMSST(mixed $vICMSST) : self
Parameters
$vICMSST : mixed
Return values
self

setVIPI()

Set the value of vIPI

public setVIPI(mixed $vIPI) : self
Parameters
$vIPI : mixed
Return values
self

setVPIS()

Set the value of vPIS

public setVPIS(mixed $vPIS) : self
Parameters
$vPIS : mixed
Return values
self

setVProd()

Set the value of vProd

public setVProd(mixed $vProd) : self
Parameters
$vProd : mixed
Return values
self

setVTrib()

Set the value of vTrib

public setVTrib(mixed $vTrib) : self
Parameters
$vTrib : mixed
Return values
self

setVUnidIPI()

Set the value of vUnidIPI

public setVUnidIPI(mixed $vUnidIPI) : self
Parameters
$vUnidIPI : mixed
Return values
self

setXProd()

Set the value of xProd

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