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".
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".

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