button element, navigation within your program.
the following function creates a button element:
parameter:
status - name of function which should be called on click.
value - value, this value could be accessed later with view->emitter.
src - optional. source of image file (graphical button).
name - optional. identifier. Its highly recommended to use unique identifiers to avoid side effects.
function setCaption(string $caption) - sets a caption. example:
$myButton = $ippfp->createButton("start","10","img/next.png","mybutton");
Hint: if no image source is given, the name of the button will displayed.
$myButton = $ippfp->createButton("start","10","","mybutton");