Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\Http\Request Class Reference

Elgg HTTP request. More...

Inheritance diagram for Elgg\Http\Request:

Public Member Functions

 getUrlSegments ($raw=false)
 Get the Elgg URL segments. More...
 
 setUrlSegments (array $segments)
 Get a cloned request with new Elgg URL segments. More...
 
 getFirstUrlSegment ()
 Get first Elgg URL segment. More...
 
 getClientIp ()
 {} More...
 
 isXmlHttpRequest ()
 {} More...
 

Detailed Description

Elgg HTTP request.

private

Definition at line 12 of file Request.php.

Member Function Documentation

Elgg\Http\Request::getClientIp ( )

{}

Definition at line 65 of file Request.php.

Elgg\Http\Request::getFirstUrlSegment ( )

Get first Elgg URL segment.

See also
::getUrlSegments()
Returns
string

Definition at line 53 of file Request.php.

Elgg\Http\Request::getUrlSegments (   $raw = false)

Get the Elgg URL segments.

Parameters
bool$rawIf true, the segments will not be HTML escaped
Returns
string[]

Definition at line 21 of file Request.php.

Elgg\Http\Request::isXmlHttpRequest ( )

{}

Definition at line 83 of file Request.php.

Elgg\Http\Request::setUrlSegments ( array  $segments)

Get a cloned request with new Elgg URL segments.

Parameters
string[]$segments URL segments
Returns
Request

Definition at line 40 of file Request.php.


The documentation for this class was generated from the following file: