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

Subscribe to our news:
Partners
Testimonials
Ran Cole: "We bought the tool last week and want to say how much we love it. We've found it not only powerful, but very user friendly. We have used the tool to create an interface that manages our MySQL DB for different types of users".
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

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