[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/lusitanian/oauth/src/OAuth/Common/Http/Uri/ -> UriFactory.php (summary)

(no description)

File Size: 168 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UriFactory:: (9 methods):
  createFromSuperGlobalArray()
  createFromAbsolute()
  createFromParts()
  attemptProxyStyleParse()
  detectPath()
  detectHost()
  detectPort()
  detectQuery()
  detectScheme()


Class: UriFactory  - X-Ref

Factory class for uniform resource indicators

createFromSuperGlobalArray(array $_server)   X-Ref
Factory method to build a URI from a super-global $_SERVER array.

param: array $_server
return: UriInterface

createFromAbsolute($absoluteUri)   X-Ref

param: string $absoluteUri
return: UriInterface

createFromParts($scheme, $userInfo, $host, $port, $path = '', $query = '', $fragment = '')   X-Ref
Factory method to build a URI from parts

param: string $scheme
param: string $userInfo
param: string $host
param: string $port
param: string $path
param: string $query
param: string $fragment
return: UriInterface

attemptProxyStyleParse($_server)   X-Ref

param: array $_server
return: UriInterface|null

detectPath($_server)   X-Ref

param: array $_server
return: string

detectHost(array $_server)   X-Ref

param: array $_server
return: string

detectPort(array $_server)   X-Ref

param: array $_server
return: string

detectQuery(array $_server)   X-Ref

param: array $_server
return: string

detectScheme(array $_server)   X-Ref
Determine URI scheme component from superglobal array

When using ISAPI with IIS, the value will be "off" if the request was
not made through the HTTPS protocol. As a result, we filter the
value to a bool.

param: array $_server A super-global $_SERVER array
return: string Returns http or https depending on the URI scheme



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1