PHP 클래스 Mlp_Language_Updater

Created by Mlp_Language_Manager_Controller. update_languages() is registered as callback for the action "admin_post_mlp_update_languages"
저자: Inpsyde GmbH, MarketPress, toscho
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

Constructor.
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.

update_languages() 공개 메소드

Combine the work of all other methods.
public update_languages ( ) : void
리턴 void