Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Kirby Foster: "Nice software. Small, lightweight, works well. I evaluated lots of software before deciding that your software worked the best for what I do. Both Maestro for MySQL and PHP Generator have saved me lots of time".
Jonathan Oakes: "This is a lovely application. It's easy to hook into my own bespoke applications. It's very powerful, yet really quite simple to use. Thanks for this".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

setDescription

Allows to provide a page with a text block located below the page header. HTML tags are allowed. The code in the examples below should be placed into the OnPreparePage event handler.

 

Signature:

function setDescription($value)

 

Example 1:

To provide a page with a description "Top 100 Greatest Actors of All Time", place the following code in the event body:

 

$this->setDescription("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->setDescription($description);



Prev Return to chapter overview Next