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

Subscribe to our news:
Partners

DB2 PHP Generator online Help

Prev Return to chapter overview Next

OnBeforePageExecute

This event occurs before other events are declared and allow to create global objects, declare functions, and include third-party libraries. This helps you to define a snapshot of PHP code that will be included into all the pages.

 

Signature:

function OnBeforePageExecute()

 

Example:

In our Schema Browser demo project all the code implementing database filter, formatting and highlighting SQL code we entered in the schema_browser_utlis.php file. The following code is used to include it to into all application web pages.

 

include_once 'schema_browser_utils.php';

 



Prev Return to chapter overview Next