PHP Classes

File: src/eMacros/Package/RequestPackage.php

Recommend this page to a friend!
  Classes of Emmanuel Antico   eMacros   src/eMacros/Package/RequestPackage.php   Download  
File: src/eMacros/Package/RequestPackage.php
Role: Class source
Content type: text/plain
Description: Class source
Class: eMacros
PHP LISP language interpreter
Author: By
Last change:
Date: 10 years ago
Size: 400 bytes
 

Contents

Class file image Download
<?php
namespace eMacros\Package;

class
RequestPackage extends Package {
    public function
__construct() {
       
parent::__construct('Request');
       
        global
$_GET, $_POST, $_REQUEST, $_SESSION, $_COOKIE, $_FILES;
       
       
$this['GET'] = $_GET;
       
$this['POST'] = $_POST;
       
$this['REQUEST'] = $_REQUEST;
       
$this['SESSION'] = $_SESSION;
       
$this['COOKIE'] = $_COOKIE;
       
$this['FILES'] = $_FILES;
    }
}
?>