PDF_Library

[[PDF_Library]](beta)

[[PDF_library function:var1|var2]]

Macro Parameters:

library function: Name of PDF Library function to be used.

var1: variable name to be used to contain resulting status if any.

var2: variable or string containing ‘php style’ pdf function parameters. These parameters are defined separately for each pdf function and may be seen by referencing links in the complete PDF function list shown below.

 

Examples  of usage:

[[PDF_activate_item:success|$pdfdoc , $id]]
[[if:$success===TRUE]]
etc...
[[ELSE]]
etc..
[[END_IF]]

or

[[INITIALIZE:var2|"$pdfdoc , $id"]]
[[PDF_activate_item:success|$var2]]
[[if:$success===TRUE]]
etc...
[[ELSE]]
etc..
[[END_IF]]

Sets the variable labeled as success to boolean TRUE or FALSE depending on operational success.  The variables to the right of the pipe symbol are parameters used as specified in the following list.

PDF Function list. (with links to php.net parameter specs.)

 

Leave a Reply