PHP Class Inpsyde\MultilingualPress\Core\Admin\PluginSettingsPage\PluginSettingsUpdater

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde\MultilingualPress\Module\ModuleManager $module_manager, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, SettingsPage $settings_page ) Constructor. Sets up the properties.
update_settings ( ) : void Updates the plugin settings according to the data in the request.

Private Methods

Method Description
update_module ( string $id ) : void Updates a single module according to the data in the request.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Module\ModuleManager $module_manager, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, SettingsPage $settings_page )
$module_manager Inpsyde\MultilingualPress\Module\ModuleManager Module manager object.
$nonce Inpsyde\MultilingualPress\Common\Nonce\Nonce Nonce object.
$settings_page Inpsyde\MultilingualPress\Common\Admin\SettingsPage Settings page object.

update_settings() public method

Updates the plugin settings according to the data in the request.
Since: 3.0.0
public update_settings ( ) : void
return void