Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

pc4p::pc4p_init

PC4P's init module, sets the needed include path and provides wrapper functions

 

private module pc4p_init

PC4P's init module, sets the needed include path and provides wrapper functions
for the objects

 

Public Method Summary

object pc4p_main

&pc4p_create_pdf([ array $info ])

pc4p_create_pdf - Main wrapper function to create the PDF
object pc4p_page

&pc4p_create_page(object pc4p_main &$parent, string $format, [ string $dimensions ])

pc4p_create_page - Wrapper function to create a page
object pc4p_object

&pc4p_create_object(object pc4p_page &$parent, [ string $object_type ])

pc4p_create_object - Wrapper function to create objects

Included files Summary, Type: include_once

pc4p_main.inc Include the main object
pc4p_page.inc Include the page object
pc4p_object.inc Include the generic object
pc4p_text.inc Include the object for using text
pc4p_box.inc Include the object for drawing boxes
pc4p_table.inc Include the object for creating tables
pc4p_image.inc Include the object for images

Public Method Details

&pc4p_create_pdf

public object pc4p_main &pc4p_create_pdf( [ array $info ] )

  pc4p_create_pdf - Main wrapper function to create the PDF
This is the first function which should be called, as itacquires the PDF-Pointer for all other operations.

Parameter
array $info = >>array()<<
here go the vars for the infos of the PDF
Returns object pc4p_main $pdf

the pdf-object, used by pc4p_create_page

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

&pc4p_create_page

public object pc4p_page &pc4p_create_page( object pc4p_main &$parent, string $format, [ string $dimensions ] )

  pc4p_create_page - Wrapper function to create a page
This function is used to create new pages. Can takea standard pagesize or user defines.

Parameter
object pc4p_main &$parent
parent of the page, can only be a PDF-Object
string $format
name of a standard pagesize or "user"
string $dimensions = >>""<<
or the dimensions if page is "user"-defined <width>x<height>
Returns object pc4p_page $page

a page-object is returned, used by pc4p_create_object

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

&pc4p_create_object

public object pc4p_object &pc4p_create_object( object pc4p_page &$parent, [ string $object_type ] )

  pc4p_create_object - Wrapper function to create objects
Here we have the wrapper for all the other objects: Text, tables, boxes,images and a object, which is used as container.

Parameter
object pc4p_page &$parent
parent of the object, usually a page, or some container-object such as boxes and tables
string $object_type = >>""<<
type of object to be created, if empty a container-object is created
Returns object pc4p_object $object

the object, which was created by this function

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

Included Files, Type: include_once

pc4p_main.inc

include_once( pc4p_main.inc )

Include the main object


pc4p_page.inc

include_once( pc4p_page.inc )

Include the page object


pc4p_object.inc

include_once( pc4p_object.inc )

Include the generic object


pc4p_text.inc

include_once( pc4p_text.inc )

Include the object for using text


pc4p_box.inc

include_once( pc4p_box.inc )

Include the object for drawing boxes


pc4p_table.inc

include_once( pc4p_table.inc )

Include the object for creating tables


pc4p_image.inc

include_once( pc4p_image.inc )

Include the object for images


Included Files, Type:

( )


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


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta