DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
SetViewFromTitle
Allows to specify the title of the page View form. The code in the example below should be placed into the OnPreparePage event handler. It is possible to use field name tags in the title template (Live Demo).
Signature:
function SetViewFormTitle($value)
Example 1:
To provide the View form with such title as "Tom Hanks Profile", "Bruce Willis Profile", and so on, place the following code in the event body:
$this->SetViewFormTitle("%name% Profile");
Prev | Return to chapter overview | Next |