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> |
|