Mini Shell

Direktori : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/external/prestataires2/_framework/
Upload File :
Current File : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/external/prestataires2/_framework/Request.php

<?php

class Request {

  // Request URI get/post params (param1=controller, param2=action, param3 (opt) = id)
  // URI parameters are in the form "?controller=param1?action=param2&id=param3"
  // These are rewritten by server rewrite engine from http://host/controller/action/id
  // POST params from forms are merged in the same parameter array by router
  
  private $parameters;

  public function __construct($parameters) {
    $this->parameters = $parameters;
  }

  // Test if param name is in request
  public function existParameter($name) {
    return (isset($this->parameters[$name]) && $this->parameters[$name] != "");
  }

  // Return param value from request
  // Raise exception if param not found
  public function getParameter($name) {
    if ($this->existParameter($name)) {
      return $this->parameters[$name];
    }
    else
	  return null;
      //throw new ErrorException("Paramètre '$name' absent de la requête",0,E_USER_ERROR);
  }

  // Return all param values from request
  public function getParameters() {
    return $this->parameters;
  }
  
  // Unset particular param element
  public function unsetParameter($name) {
	   if($this->existParameter($name)) unset($this->parameters[$name]);
  } 
}
August 17, 2020 – Page 2 – Base de données MCPV "Prestataires"

Day: August 17, 2020

People with small penis sizes would possibly want to make use

#1 Online Sexual Wellness Shop I feel that masturbating utilizing my non-dominant hand is interestingly completely different – it’s like someone else is doing it for me enhancer beads sleeve, extra like bringing Sandra on board. People with small penis sizes would possibly want to make use of penis sleeve inserts to cowl the air…

Read More