PHP 클래스 yii\httpclient\UrlEncodedFormatter

부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\base\Object, implements yii\httpclient\FormatterInterface
파일 보기 프로젝트 열기: yiisoft/yii2-httpclient

공개 프로퍼티들

프로퍼티 타입 설명
$charset the content charset. If not set, it will use the value of [[\yii\base\Application::charset]].
$encodingType URL encoding type. Possible values are: - PHP_QUERY_RFC1738 - encoding is performed per 'RFC 1738' and the 'application/x-www-form-urlencoded' media type, which implies that spaces are encoded as plus (+) signs. This is most common encoding type used by most web applications. - PHP_QUERY_RFC3986 - then encoding is performed according to 'RFC 3986', and spaces will be percent encoded (%20). This encoding type is required by OpenID and OAuth protocols.

공개 메소드들

메소드 설명
format ( Request $request )

메소드 상세

format() 공개 메소드

public format ( Request $request )
$request Request

프로퍼티 상세

$charset 공개적으로 프로퍼티

the content charset. If not set, it will use the value of [[\yii\base\Application::charset]].
부터: 2.0.1
public $charset

$encodingType 공개적으로 프로퍼티

URL encoding type. Possible values are: - PHP_QUERY_RFC1738 - encoding is performed per 'RFC 1738' and the 'application/x-www-form-urlencoded' media type, which implies that spaces are encoded as plus (+) signs. This is most common encoding type used by most web applications. - PHP_QUERY_RFC3986 - then encoding is performed according to 'RFC 3986', and spaces will be percent encoded (%20). This encoding type is required by OpenID and OAuth protocols.
public $encodingType