TipoFinanciamentoDAO
extends Model
Table of Contents
Methods
-
atualizar()
: mixed
-
buildSQL()
: mixed
-
checkDirectAccessSecurity()
: mixed
-
commit()
: mixed
-
consultar()
: mixed
-
consultarFinanciamento()
: mixed
-
consultarTipoFinanciamentoTodos()
: mixed
-
deletar()
: mixed
-
enableLogQuery()
: mixed
-
inserir()
: mixed
-
lastId()
: mixed
-
new()
: mixed
-
printSQL()
: mixed
-
replaceFields()
: bool
-
rollBack()
: mixed
-
rowCount()
: mixed
-
runQuery()
: mixed
-
runRAWSelect()
: mixed
-
select_for_update()
: mixed
-
startTransaction()
: mixed
-
checkDisableEntitySecurity()
: mixed
-
logQuery()
: mixed
-
pdo_execute_sql()
: mixed
atualizar()
public
atualizar(TipoFinanciamentoEntity $obj) : mixed
Parameters
-
$obj
: TipoFinanciamentoEntity
-
buildSQL()
public
buildSQL(SQL $sql) : mixed
Parameters
-
$sql
: SQL
-
checkDirectAccessSecurity()
public
static checkDirectAccessSecurity(mixed $pk, mixed $entity) : mixed
Parameters
-
$pk
: mixed
-
-
$entity
: mixed
-
commit()
public
commit() : mixed
consultar()
public
consultar(mixed $id) : mixed
Parameters
-
$id
: mixed
-
consultarFinanciamento()
public
consultarFinanciamento() : mixed
consultarTipoFinanciamentoTodos()
public
consultarTipoFinanciamentoTodos() : mixed
deletar()
public
deletar(mixed $id, mixed $motivo) : mixed
Parameters
-
$id
: mixed
-
-
$motivo
: mixed
-
enableLogQuery()
public
static enableLogQuery([bool $enable = true ]) : mixed
Parameters
-
$enable
: bool
= true
-
inserir()
public
inserir(TipoFinanciamentoEntity $obj) : mixed
Parameters
-
$obj
: TipoFinanciamentoEntity
-
lastId()
public
lastId() : mixed
new()
public
static new() : mixed
printSQL()
public
printSQL(SQL $sql[, bool $print = true ]) : mixed
Parameters
-
$sql
: SQL
-
-
$print
: bool
= true
-
replaceFields()
public
replaceFields(mixed &$sql_campos, mixed $cur_field, mixed $new_field) : bool
Parameters
-
$sql_campos
: mixed
-
-
$cur_field
: mixed
-
-
$new_field
: mixed
-
rollBack()
public
rollBack() : mixed
rowCount()
public
rowCount() : mixed
runQuery()
public
runQuery(SQL $sql) : mixed
Parameters
-
$sql
: SQL
-
runRAWSelect()
public
runRAWSelect(string $raw[, array<string|int, mixed> $values = [] ][, bool $fetchAll = false ][, array<string|int, mixed> $security_extra_fields = [] ][, bool $print = false ][, array<string|int, mixed> $database = Entity::database ][, string $security_only_for_this_table_or_alias = "" ]) : mixed
Parameters
-
$raw
: string
-
-
$values
: array<string|int, mixed>
= []
-
-
$fetchAll
: bool
= false
-
-
$security_extra_fields
: array<string|int, mixed>
= []
-
-
$print
: bool
= false
-
-
$database
: array<string|int, mixed>
= Entity::database
-
-
$security_only_for_this_table_or_alias
: string
= ""
-
select_for_update()
public
select_for_update(mixed $entity, mixed $select_fields, mixed $where_str, mixed $where_values[, mixed $join_str = "" ][, mixed $join_values = [] ]) : mixed
Parameters
-
$entity
: mixed
-
-
$select_fields
: mixed
-
-
$where_str
: mixed
-
-
$where_values
: mixed
-
-
$join_str
: mixed
= ""
-
-
$join_values
: mixed
= []
-
startTransaction()
public
startTransaction() : mixed
checkDisableEntitySecurity()
protected
checkDisableEntitySecurity() : mixed
logQuery()
protected
logQuery(string $sql, array<string|int, mixed> $values, int $query_type) : mixed
Parameters
-
$sql
: string
-
-
$values
: array<string|int, mixed>
-
-
$query_type
: int
-
pdo_execute_sql()
protected
pdo_execute_sql(array<string|int, mixed> $db_data_array, string $sql, array<string|int, mixed> $values, bool $fetchAll, int $query_type) : mixed
Parameters
-
$db_data_array
: array<string|int, mixed>
-
-
$sql
: string
-
-
$values
: array<string|int, mixed>
-
-
$fetchAll
: bool
-
-
$query_type
: int
-