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

Subscribe to our news:
Partners
Testimonials
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".
Patrick Biegel: "Thanks a lot for your fast reply and the great solution! It works now and that's really important! The PHP Generator for MySQL is a great software".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

GetApplication

Returns an instance of the Application class. Actually it is implemented via the Singleton pattern, so the same instance always will be returned.

 

Signature:

function GetApplication()

 

Example:

To check if the parameter custom_var is available, use the following code:

 

if (GetApplication()->IsGETValueSet('custom_var'))

   // found

   $params['custom_var'] = GetApplication()->GetGETValue('custom_var');

  else

   // not found. Assign a default value.   

   $params['custom_var'] = '5 (default)';



Prev Return to chapter overview Next