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

Subscribe to our news:
Partners
Testimonials
Johnson Sieu: "Your PHP Generator is the BEST that I have used so far. It is affordable and user-friendly. Congratulation for coming up with such a fine product. I will not hesitate to introduce it to my peers".
Svetlio Mitev: "I am really sure that you guys can make the best PHP code generators to be found worldwide".

More

Add your opinion

SQLite 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