Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /data/customers/alex/htdocs/include/pc4p_main.inc
PC4P - pc4p

pc4p_main

pc4p_main

PC4P's main class

 

private class pc4p_main

PC4P's main class

AuthorsAlexander Wirtz <wirtz@web-active.com>

 

Public Method Summary

void

pc4p_main()

Constructor - Initializes the filepointer required for apprehending
void

pc4p_draw()

Calls the draw for each child, closes PDF Document, then makes
void

pc4p_set_info(array $info_array)

Sets the info values for the PDF
void

pc4p_set_compression(integer $compress)

Sets the compression-parameter

Private Method Summary

void

pc4p_draw_children()

Calls the draw function for each child in the children-array

Private Field Summary

array

$children

Array of all children of this object
integer

$pdfp

PDF-Pointer used for all pdf_*
integer

$fp

File-Pointer for creating a PDF
object pc4p_page

$curr_page

Pointer to the current page, used when walking through $children
object pc4p_page

$next_page

Pointer to the next page, used when walking through $children

Public Method Details

pc4p_main

public void pc4p_main( )

  Constructor - Initializes the filepointer required for apprehending
the PDF-Pointer, which is initialized also

Returns void

Author(s) Alexander Wirtz <wirtz@web-active.com>

pc4p_draw

public void pc4p_draw( )

  Calls the draw for each child, closes PDF Document, then makes
a passthrough for the temp-filepointer. The document is handedto the Browser, then the filepointer is closed as well.Called as last function in the class.

Returns void

Author(s) Alexander Wirtz <wirtz@web-active.com>

pc4p_set_info

public void pc4p_set_info( array $info_array )

  Sets the info values for the PDF

Parameter
array $info_array
Returns void

Author(s) Alexander Wirtz <wirtz@web-active.com>

pc4p_set_compression

public void pc4p_set_compression( integer $compress )

  Sets the compression-parameter

Parameter
integer $compress
Returns void

Author(s) Alexander Wirtz <wirtz@web-active.com>

Private Method Details

pc4p_draw_children

private void pc4p_draw_children( )

  Calls the draw function for each child in the children-array

Returns void

Author(s) Alexander Wirtz <wirtz@web-active.com>

Private Field Details

$children

private array $children

>>array()<<

Array of all children of this object


$pdfp

private integer $pdfp

>><<

PDF-Pointer used for all pdf_*


$fp

private integer $fp

>><<

File-Pointer for creating a PDF


$curr_page

private object pc4p_page $curr_page

>><<

Pointer to the current page, used when walking through $children


$next_page

private object pc4p_page $next_page

>><<

Pointer to the next page, used when walking through $children



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta