oxUtilsServer Class Reference

Collaboration diagram for oxUtilsServer:

Collaboration graph
[legend]

List of all members.


Detailed Description

Server data manipulation class

Public Member Functions

 setOxCookie ($sName, $sValue="", $iExpire=0, $sPath= '/')
 getOxCookie ($sName=null)
 getRemoteAddress ()
 getServerVar ($sServVar=null)

Static Public Member Functions

static getInstance ()

Static Private Attributes

static $_instance = null

Member Function Documentation

static oxUtilsServer.getInstance (  )  [static]

Returns server utils instance

Returns:
oxUtilsServer

oxUtilsServer.setOxCookie ( sName,
sValue = "",
iExpire = 0,
sPath = '/' 
)

sets cookie

Parameters:
string $sName cookie name
string $sValue value
int $iExpire expire time
string $sPath The path on the server in which the cookie will be available on
Returns:
bool

oxUtilsServer.getOxCookie ( sName = null  ) 

Returns cookie $sName value. If optional parameter $sName is not set then getCookie() returns whole cookie array

Parameters:
string $sName cookie param name
Returns:
string

oxUtilsServer.getRemoteAddress (  ) 

Returns remote IP address

Returns:
string

oxUtilsServer.getServerVar ( sServVar = null  ) 

returns a server constant

Parameters:
string $sServVar optional - which server var should be returned, if null returns whole $_SERVER
Returns:
mixed


Member Data Documentation

oxUtilsServer.$_instance = null [static, private]


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

Generated on Wed Oct 29 23:46:34 2008 for OXID eShop CE by  doxygen 1.5.5