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

Subscribe to our news:
Partners
Testimonials
George Westrup: "I have saved so much time using your products. Also you are quick to respond to every question I have had. Thanks for the great support".
Rickey Steinke: "Folks, I wanted to drop a line and give you a fanatic thank you. I have a project due for my computer application course and without PHP Generator I never would have gotten it done with the professional results your product produced. My sincerest gratitude to each and every team member who brought this program to light".

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