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

OnCustomizePageList

This event allows you to add new groups and items to the application menu (both top-side and sidebar).

 

Signature:

function OnCustomizePageList($page, $pageList)

 

Parameters:

$page

An instance of the CommonPage class that corresponds currently processed page.

$pageList

An instance of the PageList class.

 

Example

This example shows how to add a new group with a couple of links.

 

$pageList->addGroup('External links');

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

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

$pageList->addPage(new PageLink('Get Support', 'http://www.mysite.com/support/',

    'Get support for this application', false, false, 'External links'));

 

 



Prev Return to chapter overview Next