Trait Props
Direct Known Users
MvcCore\Request
protected static
string[]
|
$twoSegmentTlds
List of exceptional two-segment top-level domain like
|
#
['co.jp'=>1,'ac.uk'=>1,'co.uk'=>1,'co.kr'=>1,'co.nl'=>1,'in.ua'=>1,'co.nf'=>1,'ny.us'=>1,'co.us'=>1]
|
protected static
string|null
|
$routerClass
Configured router full class name string from core, loaded in |
#
NULL
|
protected static
|
$app
Reference to |
#
NULL
|
protected
string|resource|null
|
$inputStream
String name or resource for request input stream.
Example: |
#
NULL
|
protected
boolean|null
|
$cli
|
#
NULL
|
protected
string|null
|
$lang
Language international code, lower case, not used by default.
To use this variable - install |
#
NULL
|
protected
string|null
|
$locale
Country/locale code, upper case, not used by default.
To use this variable - install |
#
NULL
|
protected
string|null
|
$mediaSiteVersion
Media site key - |
#
NULL
|
protected
string|null
|
$scheme
Http scheme: |
#
NULL
|
protected
boolean|null
|
$secure
|
#
NULL
|
protected
string|null
|
$hostName
Application server name - domain without any port.
Example: |
#
NULL
|
protected
string|null
|
$host
Application host with port if there is any.
Example: |
#
NULL
|
protected
string|null
|
$port
Http port defined in requested URI if any, parsed by |
#
NULL
|
protected
string[]|null
|
$domainParts
Parsed server name (domain without port) parts.
Example: |
#
NULL
|
protected
boolean
|
$portDefined
|
#
FALSE
|
protected
string|null
|
$path
Requested path in from application root (if |
#
NULL
|
protected
string|null
|
$query
Uri query string without question mark.
Example: |
#
NULL
|
protected
string|null
|
$fragment
Uri fragment parsed by |
#
NULL
|
protected
boolean|null
|
$ajax
|
#
NULL
|
protected
string|null
|
$scriptName
Php requested script name path from application root.
Example: |
#
NULL
|
protected
string|null
|
$appRoot
Application root path on hard drive.
Example: |
#
NULL
|
protected
string|null
|
$basePath
Base app directory path after domain, if application is placed in domain subdirectory
Example:
- full URI: |
#
NULL
|
protected
string|null
|
$requestPath
Request path after domain with possible query string
Example: |
#
NULL
|
protected
string|null
|
$domainUrl
Url to requested domain and possible port.
Example: |
#
NULL
|
protected
string|null
|
$baseUrl
Base URI to application root.
Example: |
#
NULL
|
protected
string|null
|
$requestUrl
Request URI including scheme, domain, port, path, without any query string
Example: " |
#
NULL
|
protected
string|null
|
$fullUrl
Request URI including scheme, domain, port, path and with query string
Example: |
#
NULL
|
protected
string|null
|
$method
Http method (upper case) - |
#
NULL
|
protected
string|null
|
$referer
Referer URI if any, safely read by:
|
#
NULL
|
protected
string|null
|
$serverIp
Server IP address string.
Example: |
#
NULL
|
protected
string|null
|
$clientIp
Client IP address string.
Example: |
#
NULL
|
protected
integer|null
|
$contentLength
Integer value from global |
#
NULL
|
protected
float
|
$microtime
Timestamp of the start of the request, with microsecond precision. |
#
NULL
|
protected
array|null
|
$headers
All raw http headers without any conversion, initialized by
|
#
NULL
|
protected
string|null
|
$body
Raw request body, usually from |
#
NULL
|
protected
array|null
|
$params
Raw request params array, with keys defined in route or by query string,
always with controller and action keys completed by router.
Do not read this |
#
NULL
|
protected
boolean|null
|
$appRequest
Request flag if request targets internal package asset or not,
- 0 => Means request is |
#
NULL
|
protected
string
|
$controllerName
Cleaned input param |
#
NULL
|
protected
string
|
$actionName
Cleaned input param |
#
NULL
|
protected
array
|
$globalServer
Content of referenced |
#
[]
|
protected
array
|
$globalGet
Content of referenced |
#
[]
|
protected
array
|
$globalPost
Content of referenced |
#
[]
|
protected
array
|
$globalCookies
Content of referenced |
#
[]
|
protected
array
|
$globalFiles
Content of referenced |
#
[]
|