MIOLO26
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe MPDFReport
Diagrama de heranças da classe MPDFReport
MGrid MBaseGrid MContainerControl MDiv MControl MComponent PDFReport

Membros públicos

 __construct ($data, $columns, $pageLength=1, $index=0, $orientation='portrait', $paper='a4')
 
 initializeOptions ()
 
 setOption ($option, $value)
 
 setPDF ($pdf)
 
 getPDF ()
 
 setWidth ($width)
 
 addColumn ($column)
 
 setColumns ($columns)
 
 getPage ()
 
 generateReportHeader ()
 
 generatePageHeader ()
 
 generatePageFooter ()
 
 generateHeader ()
 
 generateColumnsHeading ()
 
 generateColumns ($tbl, $row, $i)
 
GenerateEmptyMsg ()
 
 generateTableData ()
 
 generatePageTitle ()
 
 generateBody ($data)
 
 generateFooter ()
 
 generateReport ()
 
 pageBreak ()
 
 clearPageBreak ()
 
 setTrigger ($trigger, $class, $module, $param)
 
 setOutput ($value='')
 
 execute ()
 
 generate ()
 
- Membros públicos herdados de MGrid
 __construct ($data, $columns, $href=NULL, $pageLength=15, $index=0, $name='', $useCheckBoxes=TRUE, $gridMostraTotalNumeric=false)
 
 isGridMostraTotalNumeric ()
 
 setGridMostraTotalNumeric ($gridMostraTotalNumeric)
 
 setShowHeaders ( $show=true)
 
 showHeaders ()
 
 setCurrentPage ($pageNumber)
 
 getURL ($filter=false, $order=false, $item='')
 
 setTitle ($title)
 
 setPageLength ($pageLength)
 
 getPageLength ()
 
 setFooter ($footer)
 
 setLinkType ($linktype)
 
 setControls ($controls)
 
 setButtons ($aButtons)
 
 setIndex ($index)
 
 setRowMethod ($class, $method)
 
 setIsScrollable ($scrollable=true, $width='99%', $height='99%')
 
 setScrollWidth ($width='99%')
 
 setScrollHeight ($height='99%')
 
 headerLink ($id, $label, $href)
 
 setColumnAttr ($col, $attr, $value)
 
 setButtonSelectClass ($class='')
 
 setAlternate ($status=true)
 
 setData ($data)
 
 getData ()
 
 getDataValue ($row, $col)
 
 getPageNumber ()
 
 getPrevPage ()
 
 getCurrentRow ()
 
 setActionDefault ($href)
 
 addActionSelect ()
 
 addActionIcon ($alt, $icon, $href, $index=0, $staticHref=null)
 
 addActionText ($alt, $text, $href, $index=0)
 
 addActionUpdate ($href)
 
 addActionDelete ($href)
 
 addActionDetail ($href)
 
 addFilterSelection ($index, $label, $options, $value='')
 
 addFilterText ($index, $label, $value='')
 
 addFilterControl ($index, $control, $type='text')
 
 getFilterValue ($index)
 
 getFilterControl ($index)
 
 setFiltered ($value=false)
 
 getFiltered ()
 
 getFilter ()
 
 setFilter ($status)
 
 applyFilter ()
 
 applyOrder ($column)
 
 addError ($err)
 
 showID ($state)
 
 setClose ($action)
 
 setSelecteds ($s)
 
 setUseSelecteds ($opt)
 
 handlerSelecteds ()
 
 clearSelecteds ()
 
 generateTitle ()
 
 generateNavigationHeader ()
 
 generateNavigationFooter ()
 
 generateLinks ()
 
 generateControls ()
 
 generateFilter ()
 
 hasErrors ()
 
 generateErrors ()
 
 generateColumnsHeading (&$tbl)
 
 correctActionColSpan ($tbl)
 
 generateActions (&$tbl)
 
 generateColumnsControls ()
 
 generateColumns (&$tbl)
 
 generateEmptyMsg ()
 
 generateData ()
 
 callRowMethod ()
 
 generateBody ()
 
 getImage ($src)
 
 hasOffset ()
 
 setQuery ($sql, $dbconf)
 
 getRowClickMethod ()
 
 setRowClickMethod ($rowClickMethod)
 
- Membros públicos herdados de MContainerControl
 __construct ( $name=NULL)
 
 __clone ()
 
 addControl ($control)
 
 insertControl ($control, $pos=0)
 
 setControl ($control, $pos=0)
 
 getControls ()
 
 getControl ($pos)
 
 getControlById ($id)
 
 findControlById ($id)
 
 setControlById ($control, $id)
 
 clearControls ()
 
 generateInner ()
 
- Membros públicos herdados de MDiv
 __construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL)
 
- Membros públicos herdados de MControl
 setName ($name)
 
 setId ($id)
 
 getId ()
 
 getName ()
 
 getUniqueId ()
 
 __set ( $name, $value)
 
 __get ( $name)
 
 setClass ($cssClass, $add=TRUE)
 
 insertClass ( $cssClass)
 
 addStyleFile ( $styleFile)
 
 getClass ()
 
 addStyle ($name, $value)
 
 setStyle ($style)
 
 getStyle ()
 
 getBoxStyle ()
 
 setPosition ($left, $top, $position='absolute')
 
 setHeight ($value)
 
 setColor ($value)
 
 setVisibility ($value)
 
 setFont ($value)
 
 getBox ()
 
 setBoxId ( $id)
 
 setBoxClass ( $cssClass, $add=true)
 
 getBoxClass ()
 
 setBoxAttributes ($attr)
 
 getBoxAttributes ()
 
 generateBox ( $content)
 
 addAttribute ( $name, $value='')
 
 setAttribute ( $name, $value)
 
 getAttribute ( $name)
 
 setAttributes ($attr)
 
 attributes ( $mergeDuplicates=false)
 
 getAttributes ( $mergeDuplicates=false)
 
 setReadOnly ($status)
 
 setEnabled ($state)
 
 setJsHint ( $hint)
 
 setHint ( $hint)
 
 setCaption ($caption)
 
 setHTMLTitle ($title)
 
 addBoxStyle ($name, $value)
 
 eventHandler ()
 
 attachEventHandler ( $name, $handler, $param=NULL)
 
 addEvent ($event, $handler, $preventDefault=true)
 
 hasEvent ($event)
 
 generateEvent ()
 
 setContent ($inner)
 
 setInner ($inner)
 
 getInner ()
 
 getRender ( $method)
 
 getInnerToString ()
 
 getCSSP ()
 
 __toString ()
 
- Membros públicos herdados de MComponent
 getManager ()
 

Campos de Dados

 $options
 
 $rawdata
 
 $slot
 
 $ezpdf
 
 $pdf
 
 $y
 
- Campos de Dados herdados de MGrid
 $title
 
 $filters
 
 $filtered
 
 $filter
 
 $orderby
 
 $ordered
 
 $order
 
 $orderMask
 
 $lastorderby
 
 $data
 
 $actions = array()
 
 $select
 
 $showid
 
 $columns
 
 $icons
 
 $errors = array()
 
 $pageLength
 
 $rowCount
 
 $href
 
 $pn
 
 $headerLinks
 
 $linktype
 
 $width
 
 $rowmethod
 
 $rowClickMethod
 
 $index
 
 $controls
 
 $emptyMsg
 
 $currentRow
 
 $box
 
 $selecteds
 
 $allSelecteds
 
 $pageNumber
 
 $prevPage
 
 $name
 
 $css
 
 $footer
 
 $hasDetail
 
 $actionDefault
 
 $alternateColors
 
 $buttonSelectClass
 
- Campos de Dados herdados de MContainerControl
 $controls
 
 $controlsId
 
- Campos de Dados herdados de MControl
 $id
 
 $uniqueId
 
 $enabled
 
 $style
 
 $attrs
 
 $attributes
 
 $maintainState
 
 $readonly
 
 $visible
 
 $caption
 
 $jsHint
 
 $hint
 
 $cssp
 
 $inner
 
 $parent
 
 $eventHandlers
 
 $painter
 
 $event
 
 $formId
 
const ALIGN_CENTER = 'center'
 
const ALIGN_LEFT = 'left'
 
const ALIGN_RIGHT = 'right'
 
const FORM_MODE_WHOLE_ROW = 0
 
const FORM_MODE_SHOW_SIDE = 1
 
const FORM_MODE_SHOW_ABOVE = 2
 
const FORM_MODE_SHOW_NBSP = 3
 
 $formMode
 
- Campos de Dados herdados de MComponent
 $manager
 
 $page
 
 $owner
 
 $name
 
 $className
 

Outros membros herdados

- Membros públicos estáticos herdados de MGrid
static obterConsultaComSomatorios ($query)
 
static obterConsultaComNomesDasColunas ($query)
 
static normalizaConsulta ($sql, $dbconf, $gridMostraTotalNumeric=false)
 
- Atributos Públicos Estáticos herdados de MControl
static $_number = 0
 
- Membros protegidos herdados de MContainerControl
 _AddControl ($control, $pos=0, $op='add')
 
- Membros protegidos herdados de MControl
 _addStyle ($name, $value)
 
- Atributos Protegidos herdados de MGrid
 $isShowHeaders = true
 
 $scrollable = false
 
 $scrollWidth = '99%'
 
 $scrollHeight = '99%'
 

Descrição detalhada

PDFReport - base class to PDF reports Brief Class Description. Complete Class Description.

Documentação dos Construtores & Destrutor

◆ __construct()

__construct ( $data,
$columns,
$pageLength = 1,
$index = 0,
$orientation = 'portrait',
$paper = 'a4' )

Brief Description. Complete Description.

Parâmetros
$data(tipo) desc
$columns(tipo) desc
$pagelength1(tipo) desc
$index=0(tipo) desc
Retorna
(tipo) desc

Documentação das funções

◆ addColumn()

addColumn ( $column)

Brief Description. Complete Description.

Parâmetros
$column(tipo) desc
Retorna
(tipo) desc

◆ clearPageBreak()

clearPageBreak ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ execute()

execute ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generate()

generate ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

Reimplementado de MGrid.

◆ generateBody()

generateBody ( $data)

Brief Description. Complete Description.

Parâmetros
$data(tipo) desc
Retorna
(tipo) desc

◆ generateColumns()

generateColumns ( $tbl,
$row,
$i )

Brief Description. Complete Description.

Parâmetros
$tbl(tipo) desc
$row(tipo) desc
$i(tipo) desc
Retorna
(tipo) desc

◆ generateColumnsHeading()

generateColumnsHeading ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ GenerateEmptyMsg()

& GenerateEmptyMsg ( )

◆ generateFooter()

generateFooter ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

Reimplementado de MGrid.

◆ generateHeader()

generateHeader ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

Reimplementado de MGrid.

◆ generatePageFooter()

generatePageFooter ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generatePageHeader()

generatePageHeader ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generatePageTitle()

generatePageTitle ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generateReport()

generateReport ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generateReportHeader()

generateReportHeader ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ generateTableData()

generateTableData ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ getPage()

getPage ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

Reimplementado de MGrid.

◆ getPDF()

getPDF ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ initializeOptions()

initializeOptions ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ pageBreak()

pageBreak ( )

Brief Description. Complete Description.

Retorna
(tipo) desc

◆ setColumns()

setColumns ( $columns)

Brief Description. Complete Description.

Parâmetros
$columns(tipo) desc
Retorna
(tipo) desc

Reimplementado de MGrid.

◆ setOption()

setOption ( $option,
$value )

Brief Description. Complete Description.

Parâmetros
$option(tipo) desc
$value(tipo) desc
Retorna
(tipo) desc

◆ setOutput()

setOutput ( $value = '')

Brief Description. Complete Description.

Parâmetros
$value'(tipo) desc
Retorna
(tipo) desc

◆ setPDF()

setPDF ( $pdf)

Brief Description. Complete Description.

Parâmetros
$pdf(tipo) desc
Retorna
(tipo) desc

◆ setTrigger()

setTrigger ( $trigger,
$class,
$module,
$param )

Brief Description. Complete Description.

Parâmetros
$trigger(tipo) desc
$class(tipo) desc
$module(tipo) desc
$param(tipo) desc
Retorna
(tipo) desc

◆ setWidth()

setWidth ( $width)

Brief Description. Complete Description.

Parâmetros
$width(tipo) desc
Retorna
(tipo) desc

Reimplementado de MGrid.

Documentação dos campos e atributos

◆ $ezpdf

$ezpdf

Attribute Description.

◆ $options

$options

Attribute Description.

◆ $pdf

$pdf

Attribute Description.

◆ $rawdata

$rawdata

Attribute Description.

◆ $slot

$slot

Attribute Description.

◆ $y

$y

Attribute Description.


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