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".
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".

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