DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
setDetailedDescription
Allows to provide a page with a text description displayed in a modal window invoked with the question mark button on the right side of the title bar of the page. HTML tags are allowed. The code in the examples below should be placed into the OnPreparePage event handler.
Signature:
function setDetailedDescription($value)
Example 1:
To specify a detailed description "Top 100 Greatest Actors of All Time", place the following code in the event body:
$this->setDetailedDescription("Top 100 Greatest Actors of All Time");
Example 2:
In this example the description is loaded from an external file. In this case you can modify the text directly in the file without regenerating the application.
$description = file_get_contents('external_data/descriptions/actors.html');
$this->setDetailedDescription($description);
Prev | Return to chapter overview | Next |