phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
HttpRequest Class Reference

Inherits PntHttpRequest.

Additional Inherited Members

- Public Member Functions inherited from PntHttpRequest
 __construct ($logger, $gpcCharset, $fatal=true)
 
 initHttpData ($funkyAlias)
 
 getServerValue ($name)
 
 getCookie ($name)
 
 getRequestParam ($key)
 
 getRequestData ()
 
 getFunkyRequestData ($alias=null, $uriParam=null)
 
 noMagicQuotesGpc ($data)
 
 validateGpc ($data, $cookies=false, $context='')
 
 validateCookieName ($name)
 
 validateParamName ($name)
 
 sanitizeGpc ($key, $value)
 
 validateGpcValue ($name, $value)
 
 validateForNullChar ($name, $value)
 
 validateSessionId ($name, $value)
 
 validateServerVars ($serverData)
 
 validateServerVarName ($name)
 
 sanitizePhpAuth ($name, $value)
 
 validatePhpAuth ($name, $value)
 
 sanitizeServerValue ($name, $value)
 
 validateServerValue ($name, $value)
 
 validateMinMaxValue ($name, $value)
 
 getCpPattern ($classPiece)
 
 pregValidate ($description, $value, $pattern, $minLength, $maxLength, $expected=0)
 
 logValidationWarning ($key, $value, $errorMessage)
 
- Data Fields inherited from PntHttpRequest
 $serverVarValidationFatal
 
 $gpcValidationFatal
 
 $pcre_backtrack_limit = 100000
 
 $tooShort = 'too short'
 
 $tooLong = 'too long'
 
 $tooLow = 'too low'
 
 $tooHigh = 'too high'
 
 $invalid = 'invalid'
 
 $serverVarValidationFailed = 'Server variable validation failed for'
 
 $gpcValidationFailed = 'Gpc validation failed for'
 
 $serverVars
 
 $cookies
 
 $get
 
 $post
 
 $serverPatterns
 
 $ipV4Pattern = '~^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$~D'
 
 $httpCookieNamePat = '_'
 
 $headerNameCp = '\\-_'
 
 $headerValueCp = '!"#$%&\'()*+,\\-./\\\\;:<=>?@[\\]\\^_`{|}\\~ '
 
 $serverCps
 
 $filePathCp = ' !#$%&\'()+,-./=@[\\]\\^_`{}\\~\\\\'
 
 $integerPattern = '/^(\\+|\\-)?[0-9]+$/'
 
 $minLengths
 
 $maxLengths
 
 $maxValues
 
 $sessionIdCp = ',\-'
 

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