
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 |
| static oxUtilsServer.getInstance | ( | ) | [static] |
| oxUtilsServer.setOxCookie | ( | $ | sName, | |
| $ | sValue = "", |
|||
| $ | iExpire = 0, |
|||
| $ | sPath = '/' | |||
| ) |
sets cookie
| 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 |
| oxUtilsServer.getOxCookie | ( | $ | sName = null |
) |
Returns cookie $sName value. If optional parameter $sName is not set then getCookie() returns whole cookie array
| string | $sName cookie param name |
| oxUtilsServer.getRemoteAddress | ( | ) |
Returns remote IP address
| oxUtilsServer.getServerVar | ( | $ | sServVar = null |
) |
returns a server constant
| string | $sServVar optional - which server var should be returned, if null returns whole $_SERVER |
oxUtilsServer.$_instance = null [static, private] |
1.5.5