Methods summary
public static
|
#
AddTwoSegmentTlds( string[] $twoSegmentTlds )
Parameters
- $twoSegmentTlds
- List of two-segment top-level domains without leading dot.
Inheritdocs
|
public
boolean
|
|
public
MvcCore\Request
|
|
public
string
|
|
public
MvcCore\Request
|
|
public
string
|
|
public
boolean
|
#
IsCli( )
Returns
boolean
Inheritdocs
|
public
MvcCore\Request
|
#
SetLang( string|null $lang )
Parameters
Returns
Inheritdocs
|
public
string|null
|
#
GetLang( )
Returns
string|null
Inheritdocs
|
public
MvcCore\Request
|
#
SetLocale( string|null $locale )
Parameters
Returns
Inheritdocs
|
public
string|null
|
|
public
MvcCore\Request
|
|
public
string|null
|
|
public
mixed|MvcCore\Request
|
#
__call( string $rawName, array $arguments = [] )
Parameters
- $rawName
- $name
- $arguments
Returns
Throws
InvalidArgumentException
Inheritdocs
|
public
mixed
|
#
__get( string $name )
Parameters
Returns
mixed
Inheritdocs
|
public
MvcCore\Request
|
#
__set( string $name, mixed $value )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
string
|
|
public
MvcCore\Request
|
#
SetMethod( string $rawMethod )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Request
|
#
SetBasePath( string $rawBasePath )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Request
|
#
SetScheme( string $rawProtocol )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
boolean
|
|
public
string
|
#
GetReferer( boolean $rawInput = FALSE )
Parameters
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
float
|
|
public
MvcCore\Request
|
|
public
string|null
|
|
public
MvcCore\Request
|
|
public
string|null
|
|
public
MvcCore\Request
|
|
public
string|null
|
|
public
MvcCore\Request
|
#
SetHostName( string $rawHostName )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Request
|
#
SetHost( string $rawHost )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Request
|
#
SetPort( string $rawPort )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Request
|
#
SetPath( string $rawPathValue )
Parameters
Returns
Inheritdocs
|
public
string
|
#
GetPath( boolean $rawInput = FALSE )
Parameters
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
MvcCore\Request
|
#
SetQuery( string $rawQuery )
Parameters
Returns
Inheritdocs
|
public
string
|
#
GetQuery( boolean $withQuestionMark = FALSE, boolean $rawInput = FALSE )
Parameters
- $withQuestionMark
If FALSE (by default), query string is returned always without question
mark character at the beginning.
If TRUE , and query string contains any character(s), query string is returned
with question mark character at the beginning. But if query string contains no
character(s), query string is returned as EMPTY STRING WITHOUT question mark character.
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
string
|
#
GetRequestPath( boolean $rawInput = FALSE )
Parameters
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
string
|
|
public
string
|
|
public
string
|
#
GetRequestUrl( boolean $rawInput = FALSE )
Parameters
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
string
|
#
GetFullUrl( boolean $rawInput = FALSE )
Parameters
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
string
|
#
GetFragment( boolean $withHash = FALSE, boolean $rawInput = FALSE )
Parameters
- $withHash
If FALSE (by default), fragment is returned always without hash character
at the beginning.
If TRUE , and fragment contains any character(s), fragment is returned
with hash character at the beginning. But if fragment contains no
character(s), fragment is returned as EMPTY STRING WITHOUT hash character.
- $rawInput
- Get raw input if
TRUE . FALSE by default to get value through htmlspecialchars($result); without ampersand & escaping.
Returns
string
Inheritdocs
|
public
string
|
|
public
string
|
|
public
boolean
|
#
IsAjax( )
Returns
boolean
Inheritdocs
|
public
integer|null
|
|
public
string
|
|
public static
string
|
#
HtmlSpecialChars( string $str )
Parameters
Returns
string
See
http://php.net/manual/en/function.htmlspecialchars.php
Inheritdocs
|