PHP Класс VideoPress_AJAX, jetpack

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
init ( ) : VideoPress_AJAX Initialize the VideoPress_AJAX and get back a singleton instance.
wp_ajax_update_transcoding_status ( ) : void Ajax action to update the video transcoding status from the WPCOM API.
wp_ajax_videopress_get_upload_token ( ) : void Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.

Приватные методы

Метод Описание
__construct ( ) Private VideoPress_AJAX constructor.

Описание методов

init() публичный статический Метод

Initialize the VideoPress_AJAX and get back a singleton instance.
public static init ( ) : VideoPress_AJAX
Результат VideoPress_AJAX

wp_ajax_update_transcoding_status() публичный Метод

Ajax action to update the video transcoding status from the WPCOM API.
public wp_ajax_update_transcoding_status ( ) : void
Результат void

wp_ajax_videopress_get_upload_token() публичный Метод

Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.
public wp_ajax_videopress_get_upload_token ( ) : void
Результат void