Method | Description | |
---|---|---|
__construct ( Mlp_Browsable $pagination_data, Mlp_Array_Diff $array_diff, Inpsyde\MultilingualPress\API\Languages $languages, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) | Constructor. | |
update_languages ( ) : void | Combine the work of all other methods. |
Method | Description | |
---|---|---|
get_existing_items ( ) : array | Fetch and prepare existing items for the current page from database. | |
get_url ( integer $amount ) : string | Get URL for the redirect. | |
update_changed_items ( array $diff ) : integer | Store changes in database. | |
validate_request ( ) : array | Check if current request is allowed and complete. |
public __construct ( Mlp_Browsable $pagination_data, Mlp_Array_Diff $array_diff, Inpsyde\MultilingualPress\API\Languages $languages, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) | ||
$pagination_data | Mlp_Browsable | |
$array_diff | Mlp_Array_Diff | |
$languages | Inpsyde\MultilingualPress\API\Languages | |
$nonce | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Nonce object. |
public update_languages ( ) : void | ||
return | void |