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".
Lucian Nedescu: "Thank you very much. Have a nice century (this is a real wish :P). I think that i will do a great job on my clients database with the new php interface. Thank You again".

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