Chapter 3. Reference

3.1. ippfp

$ippfp is an instance of class ippfp_application. It will be created automatically and includes methods to create elements. (see related sections). There are the following additional methods:

function process, processing a view if you have defined it.

process (view $view);

parameter:

example:

		$ippfp->process($myView);
		

function run, calls your function.

run ();

example:

		$ippfp->run();
		

function copy, create a copy of View.

view copy (view $view, string $title, string $type);

parameter:

example:

		$secondView = $ippfp->copy($firstView, "my pdf", "PDF");
		

function info, returns number of version.

string info ();

example:

		echo $ippfp->info();
		

funktion addError, inserts an error message. All messages will be shown in a related subwindow. returns true on success.

bool addError (string $msg);

parameter:

example:

		$ippfp->addError("value could not be saved.");