MIOLO26
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MBusiness
Diagrama de heranças da classe MBusiness
PersistentObject Business Business MAutoComplete

Membros públicos

 __construct ($database=NULL, $data=NULL)
 
 onCreate ($data=NULL)
 
 getMiolo ()
 
 getById ($data=NULL)
 
 handleTypedAttribute ($attribute, $operation, $type)
 
 checkError ()
 
 getErrors ()
 
 addError ($err)
 
 getData ()
 
 setData ($data=NULL)
 
 getDatabase ($database=NULL)
 
 getDb ()
 
 query (MSQL $sql, $parameters=NULL, $maxrows=0, $fetchType=NULL)
 
 objQuery ($sql, $parameters=NULL, $maxrows=0)
 
 execute ($sql)
 
 getAffectedRows ()
 
 executeBatch ($arrayOfCommands)
 
 objQueryRange ($sql, &$range)
 
 executeSP ($sql, $parameters=null)
 
 getBusiness ($module, $name='main', $data=NULL)
 
 log ($operacao, $descricao)
 
 setTransaction (MTransaction $transaction)
 
 getTransaction ()
 
 beginTransaction ($batch=true)
 
 endTransaction ()
 
 getManager ()
 
- Membros públicos herdados de PersistentObject
 __construct ()
 
 getClassMap ()
 
 setPersistent ($value)
 
 isPersistent ()
 
 setProxy ($value)
 
 isProxy ()
 
 retrieve ()
 
 retrieveFromQuery (MQuery $query)
 
 retrieveFromCriteria (PersistentCriteria $criteria, $parameters=NULL)
 
 retrieveAssociation ($target, $orderAttributes=null)
 
 retrieveAssociationAsCursor ($target, $orderAttributes=null)
 
 retrieveAsProxy ()
 
 getCriteria ()
 
 getDeleteCriteria ()
 
 getUpdateCriteria ()
 
 update ()
 
 save ()
 
 saveAssociation ($target)
 
 delete ()
 
 deleteAssociation ($target, $object)
 
 deleteAssociationObject ($target)
 
 handleLOBAttribute ($attribute, $value, $operation)
 

Campos de Dados

 $_bmodule
 
 $_bclass
 
 $_errors
 
 $_database
 
 $_db
 
 $_transaction
 

Atributos Protegidos

 $_miolo
 

Descrição detalhada

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $database = NULL,
$data = NULL )

Reimplementado em Business.

Documentação das funções

◆ addError()

addError ( $err)

◆ beginTransaction()

beginTransaction ( $batch = true)

◆ checkError()

checkError ( )

◆ endTransaction()

endTransaction ( )

◆ execute()

execute ( $sql)

Execute a sql instruction (insert, delete, update)

Parâmetros
$sql(string) SQL instruction to execute
Retorna
(boolean) The result of SQL command

◆ executeBatch()

executeBatch ( $arrayOfCommands)

◆ executeSP()

executeSP ( $sql,
$parameters = null )

◆ getAffectedRows()

getAffectedRows ( )

◆ getBusiness()

getBusiness ( $module,
$name = 'main',
$data = NULL )

◆ getById()

getById ( $data = NULL)

◆ getData()

getData ( )

◆ getDatabase()

getDatabase ( $database = NULL)

◆ getDb()

getDb ( )

◆ getErrors()

getErrors ( )

◆ getManager()

getManager ( )

◆ getMiolo()

getMiolo ( )

◆ getTransaction()

getTransaction ( )

◆ handleTypedAttribute()

handleTypedAttribute ( $attribute,
$operation,
$type )

◆ log()

log ( $operacao,
$descricao )

◆ objQuery()

objQuery ( $sql,
$parameters = NULL,
$maxrows = 0 )

For backward compatibility. Method just for backward compatibility.

Parâmetros
$sql(mixed) Sql string ou MSQL object
$parameters(string) MSQL object parametes
$maxrows(int) Max row count to return
Retorna
(array) Query results

◆ objQueryRange()

objQueryRange ( $sql,
& $range )

◆ onCreate()

onCreate ( $data = NULL)

◆ query()

query ( MSQL $sql,
$parameters = NULL,
$maxrows = 0,
$fetchType = NULL )

◆ setData()

setData ( $data = NULL)

◆ setTransaction()

setTransaction ( MTransaction $transaction)

Documentação dos campos e atributos

◆ $_bclass

$_bclass

◆ $_bmodule

$_bmodule

◆ $_database

$_database

◆ $_db

$_db

◆ $_errors

$_errors

◆ $_miolo

$_miolo
protected

◆ $_transaction

$_transaction

A documentação para esta classe foi gerada a partir do seguinte ficheiro: