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

Subscribe to our news:
Partners
Testimonials
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".
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".

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