Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /var/www/html/php_jh_pdf-1.1.0/class.jh_pdf_container_jhpci-1.1.0.inc.php
php_jh_pdf -

jh_pdf_container_jhpci

jh_pdf_base
   |
  +-- jh_pdf_container
     |
    +-- jh_pdf_container_jhpci

JHPCI extensions for container

 

public class jh_pdf_container_jhpci extends jh_pdf_container

JHPCI extensions for container
Extends jh_pdf_container with JHPCI methods so it can beused together with jh_pdf_table.

 

Methods inherited from jh_pdf_container

jh_pdf_container, addobject, addemptyspace, setdata, setwidth, getrequiredheight, putcontainer

Methods inherited from jh_pdf_base

setcolor

Public Method Summary

void

jhpci_setwidth(float $width)

Set the width for the cell
void

jhpci_setdata(mixed $data)

Set the data for the cell
void

jhpci_getrequiredheight()

Get the required height
void

jhpci_putdata(float $xpos, float $ypos)

Put the data on the PDF document
void

jh_pdf_container_jhpci( &$pdf)

Warning: documentation is missing.

Fields inherited from jh_pdf_container

$pdf, $objects, $data, $width, $yoffsets, $layoutvalid, $requiredheight

Public Method Details

jhpci_setwidth

public void jhpci_setwidth( float $width )

  Set the width for the cell
Gets called by the jh_pdf_table class to notify the interface classabout the width of the cell where it must place its contents into.

Parameter
float $width
The width of the cell meassured in PDF
pixels
Returns void


jhpci_setdata

public void jhpci_setdata( mixed $data )

  Set the data for the cell
Gets called by the jh_pdf_table class to notify the interface classabout the data which it must place into the cell. Please note thatthe jh_pdf_table class does not care about the type of the data,it is simply passes it through to this function!

Parameter
mixed $data
The data of the cell
Returns void


jhpci_getrequiredheight

public void jhpci_getrequiredheight( )

  Get the required height
Gets called by the jh_pdf_table class to get the required heightof the cell for putting in the contents set by jhpci_setdata()with the width set via jhpci_setwidth().

Returns void


jhpci_putdata

public void jhpci_putdata( float $xpos, float $ypos )

  Put the data on the PDF document
Gets called by the jh_pdf_table class to tell the interface classto put the data onto the PDF document at the passed coordinates.

Parameter
float $xpos
The left starting position
float $ypos
The top starting position
Returns void


jh_pdf_container_jhpci

public void jh_pdf_container_jhpci( &$pdf )

 

Warning: documentation is missing.

Parameter
&$pdf
Warning: documentation is missing.
Returns void



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta