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

Subscribe to our news:
Partners

MaxDB 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