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

Subscribe to our news:
Partners
Testimonials
Mike Little: "Great product, thank you for your great work and sharing".
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".

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