PHP 클래스 Inpsyde\MultilingualPress\Translation\FullRequestDataManipulator

부터: 3.0.0
상속: implements Inpsyde\MultilingualPress\Translation\RequestDataManipulator
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__construct ( string $request_method = RequestDataManipulator::METHOD_POST ) Constructor. Sets up the properties.
clear_data ( ) : integer Removes all data from the request global.
restore_data ( ) : integer Restores all data from the storage.

메소드 상세

__construct() 공개 메소드

Constructor. Sets up the properties.
부터: 3.0.0
public __construct ( string $request_method = RequestDataManipulator::METHOD_POST )
$request_method string Optional. Request method. Defaults to RequestDataManipulator::METHOD_POST.

clear_data() 공개 메소드

Removes all data from the request global.
부터: 3.0.0
public clear_data ( ) : integer
리턴 integer Number of cleared elements.

restore_data() 공개 메소드

Restores all data from the storage.
부터: 3.0.0
public restore_data ( ) : integer
리턴 integer Number of restored elements.