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

Subscribe to our news:
Partners
Testimonials
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".
Charles Phillips: "I very much like the program and all of its functionality! Would be happy to give you an endorsement or recommend it to others - saves me a ton of time".

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