MIOLO25
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MJasperReport
Diagrama de heranças da classe MJasperReport
MReport

Membros públicos

 __construct ($db='admin', $connectionType='local')
 
 execute ($module, $name, $parameters=NULL, $filetype='PDF', $save=FALSE)
 
 fill ($fileIn, $fileOut, $filetype, $parameters, $classPath, $save)
 
 executeJRXML ($module, $name, $parameters=NULL, $filetype='PDF', $save=FALSE)
 
 setQuery ($query)
 
 getQuery ()
 

Campos de Dados

 $filetype
 
 $fileout
 
 $fileexp
 
 $objDb
 
 $db
 
 $connectionType
 

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $db = 'admin',
$connectionType = 'local' )

MJasperReport constructor.

Parâmetros
string$dbDatabase name.
string$connectionTypeConnection type.

Documentação das funções

◆ execute()

execute ( $module,
$name,
$parameters = NULL,
$filetype = 'PDF',
$save = FALSE )

Generate the report from a jasper file.

Parâmetros
string$moduleModule where the report is located.
string$nameName of the report (without extension).
array$parametersParameters to be passed to the report.
string$filetypeReport file type.
boolean$saveWhether to save the report or download it.
Retorna
integer Returns 1 if succeeded.

◆ executeJRXML()

executeJRXML ( $module,
$name,
$parameters = NULL,
$filetype = 'PDF',
$save = FALSE )

Generate the report from a JRXML file.

Parâmetros
string$moduleModule where the report is located.
string$nameName of the report (without extension).
array$parametersParameters to be passed to the report.
string$filetypeReport file type.
boolean$saveWhether to save the report or download it.
Retorna
integer Returns 1 if succeeded.

◆ fill()

fill ( $fileIn,
$fileOut,
$filetype,
$parameters,
$classPath,
$save )

Generate the report based on the given parameters.

Parâmetros
string$fileInJasper or JRXML file.
string$fileOutGenerated report file.
string$filetypeReport file type.
array$parametersParameters to be passed to the report.
string$classPathLibraries path.
boolean$saveWhether to save the report or download it.
Retorna
integer Returns 1 if succeeded.

◆ getQuery()

getQuery ( )
Retorna
string SQL query.

◆ setQuery()

setQuery ( $query)
Parâmetros
string$querySQL query.

Documentação dos campos e atributos

◆ $connectionType

$connectionType

◆ $db

$db

◆ $fileexp

$fileexp

◆ $fileout

$fileout

◆ $filetype

$filetype

◆ $objDb

$objDb

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