PHP Classes

File: manuscript/

Recommend this page to a friend!
  Classes of Gjero Krsteski  >  PIMF  >  manuscript/  >  Download  
File: manuscript/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PIMF
Framework for Web application development
Author: By
Last change:
Date: 2 years ago
Size: 697 bytes


Class file image Download


You can work with Pimf\Request instance at any class which extends the Pimf\Controller\Base class, or you can create it somewhere else for at your application and retrieve the desired variables.

Creating a new instance outside of the controller.

    $request = new Pimf\Request($_GET, $_POST, $_COOKIE, $_SERVER['argv']);

Retrieves the HTTP GET variables.


Retrieves the CLI arguments passed to script.


Retrieves the HTTP POST variables.


Retrieves the HTTP Cookies.