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

Subscribe to our news:
Partners
Testimonials
Dionys Henzen: "Congratulations! Your MySQL PHP Generator is a great tool, that can save a lot of time and money to a developer! I'll evaluate for sure your software products when I need them. Great job".
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".

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