PHP Class Inpsyde\MultilingualPress\Translation\FullRequestDataManipulator

Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Translation\RequestDataManipulator
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

clear_data() public method

Removes all data from the request global.
Since: 3.0.0
public clear_data ( ) : integer
return integer Number of cleared elements.

restore_data() public method

Restores all data from the storage.
Since: 3.0.0
public restore_data ( ) : integer
return integer Number of restored elements.