Source for file Request.php
Documentation is available at Request.php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: KUBO Atsuhiro <kubo@isite.co.jp> |
// +----------------------------------------------------------------------+
// $Id: Request.php,v 1.4 2004/02/08 11:58:38 kuboa Exp $
* Utility class that constructs appropriate class instance for miscellaneous
* @package Net_UserAgent_Mobile
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @version $Revision: 1.4 $
* create a new Net_UserAgent_Mobile_Request_XXX instance
* parses HTTP headers and constructs appropriate class instance.
* If no argument is supplied, $_SERVER is used.
* @param mixed $stuff User-Agent string or object that works with
* HTTP_Request (not implemented)
* @return mixed a newly created Net_UserAgent_Request object
'HTTP_USER_AGENT' => $stuff)
* provides easy way to access environment variables
* @package Net_UserAgent_Mobile
* @author KUBO Atsuhiro <kubo@isite.co.jp>
* @version $Revision: 1.4 $
* array of environment variables defined by Web Server
* returns a specified HTTP Header
$header = strtr($header, '-', '_');
return @$this->_env[ 'HTTP_' . strtoupper($header) ];
* c-hanging-comment-ender-p: nil
Documentation generated on Mon, 11 Mar 2019 14:16:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|