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

Subscribe to our news:
Partners
Testimonials
Simon Greener: "A lot of work went in to designing our application database. PHP Generator allowed us to build a fully functional, professional looking, and functionally powerful web application from that database. It has freed us from worrying about low level code, enabling us to focus on the business requirements of the customer. The support provided is excellent with staff quickly producing answers to questions ranging from newbie to simple or complex. I highly recommend the product".
John Gondek: "Your software is amazing. I consider myself a novice at PHP and JS and with your software I have a web page that is truly fantastic. Thank you so much ".

More

Add your opinion

PostgreSQL PHP Generator online Help

Prev Return to chapter overview Next

addPage

Adds a new page to the application menu.

 

Signature:

function addPage(PageLink $page)

 

Parameters:

$page

An instance of the PageLink class.

 

Example:

$pageList->addPage(new PageLink('Home Site', 'http://www.mysite.com', 

    'Vist my site', false, false, 'External links'));

 

 

Signature of the PageLink class constructor is as follows:

 

function __construct($caption, $link, $hint = '', 

       $showAsText = false, $beginNewGroup = false, $groupName = '');

 

Parameters:

$caption

A caption of the new page.

$link

A webpage the new menu item is linked to.

$hint

A popup hint to be displayed for the new menu item.

$showAsText

Always false (used only for internal needs).

$beginNewGroup

If true, a separator is added to the menu before this item.

$groupName

A caption of the group the new menu item is added to.



Prev Return to chapter overview Next