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

Subscribe to our news:
Partners
Testimonials
Jonathan Oakes: "This is a lovely application. It's easy to hook into my own bespoke applications. It's very powerful, yet really quite simple to use. Thanks for this".
Kirby Foster: "Nice software. Small, lightweight, works well. I evaluated lots of software before deciding that your software worked the best for what I do. Both Maestro for MySQL and PHP Generator have saved me lots of time".

More

Add your opinion

PHP Generator for MySQL 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