PHP 클래스 xajaxArgumentManager

This class processes the input arguments from the GET or POST data of the request. If this is a request for the initial page load, no arguments will be processed. During a xajax request, any arguments found in the GET or POST will be converted to a PHP array.
파일 보기 프로젝트 열기: xajax/xajax 1 사용 예제들

공개 메소드들

메소드 설명
configure ( $sName, $mValue ) * Function: configure
getInstance ( ) * Function: getInstance
getRequestMethod ( ) * Function: getRequestMethod
process ( ) * Function: process

비공개 메소드들

메소드 설명
__argumentDecode ( &$sArg ) }
__argumentDecodeUTF8_iconv ( &$mArg )
__argumentDecodeUTF8_mb_convert_encoding ( &$mArg )
__argumentDecodeUTF8_utf8_decode ( &$mArg )
__argumentStripSlashes ( &$sArg )
__construct ( ) * Constructor: xajaxArgumentManager
__convertStringToBool ( $sValue ) * Function: __convertStringToBool
__convertValue ( $value )

메소드 상세

configure() 공개 메소드

Accepts configuration settings from the main object. Parameters: The tracks the following configuration settings: - (boolean): See bDecodeUTF8Input> - (string): See sCharacterEncoding>
public configure ( $sName, $mValue )

getInstance() 공개 정적인 메소드

Returns: object - A reference to an instance of this class. This function is used to implement the singleton pattern.
public static getInstance ( )

getRequestMethod() 공개 메소드

Returns the method that was used to send the arguments from the client.
public getRequestMethod ( )

process() 공개 메소드

Returns the array of arguments that were extracted and parsed from the GET or POST data.
public process ( )