Elgg  Version 1.11
Public Member Functions | Protected Member Functions | List of all members
Elgg\Http\Request Class Reference
Inheritance diagram for Elgg\Http\Request:

Public Member Functions

 initialize (array $query=array(), array $request=array(), array $attributes=array(), array $cookies=array(), array $files=array(), array $server=array(), $content=null)
 
 getUrlSegments ()
 Get URL segments from the path info. More...
 
 getFirstUrlSegment ()
 Get first URL segment from the path info. More...
 
 getClientIp ()
 {} More...
 

Protected Member Functions

 stripSlashesIfMagicQuotes ($data)
 Strip slashes if magic quotes is on. More...
 

Detailed Description

Definition at line 41 of file Request.php.

Member Function Documentation

Elgg\Http\Request::getClientIp ( )

{}

Definition at line 104 of file Request.php.

Elgg\Http\Request::getFirstUrlSegment ( )

Get first URL segment from the path info.

See also
::getUrlSegments()
Returns
string

Definition at line 92 of file Request.php.

Elgg\Http\Request::getUrlSegments ( )

Get URL segments from the path info.

See also
::getPathInfo()
Returns
array

Definition at line 76 of file Request.php.

Elgg\Http\Request::initialize ( array  $query = array(),
array  $request = array(),
array  $attributes = array(),
array  $cookies = array(),
array  $files = array(),
array  $server = array(),
  $content = null 
)

Definition at line 46 of file Request.php.

Elgg\Http\Request::stripSlashesIfMagicQuotes (   $data)
protected

Strip slashes if magic quotes is on.

Parameters
mixed$dataData to strip slashes from
Returns
mixed

Definition at line 124 of file Request.php.


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