PHP Класс RTMediaJsonApi, rtMedia

Автор: Umesh Kumar ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$ec_api_disabled
$ec_bp_missing
$ec_invalid_media_id
$ec_invalid_request_type
$ec_media_activity_id_missing
$ec_method_missing
$ec_server_error
$ec_token_invalid
$ec_token_missing
$msg_api_disabled
$msg_bp_missing
$msg_invalid_media_id
$msg_invalid_request_type
$msg_media_activity_id_missing
$msg_method_missing
$msg_server_error
$msg_token_invalid
$msg_token_missing
$rtmediajsonapifunction
$user_id

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

Метод Описание
__construct ( )
api_new_media_upload_dir ( $args )
rtmedia_api_process_add_rtmedia_comment_request ( ) Post comment on activity_id or media_id
rtmedia_api_process_bp_get_activities_request ( ) Sends a reset link to user email
rtmedia_api_process_bp_get_profile_request ( )
rtmedia_api_process_follow_request ( )
rtmedia_api_process_get_likes_rtmedia_request ( ) Fetch Likes by media id
rtmedia_api_process_get_rtmedia_comments_request ( ) Fetch Comments by media id
rtmedia_api_process_like_media_request ( ) Like/Unlike by media_id or activity_id
rtmedia_api_process_logout_request ( )
rtmedia_api_process_remove_comment_request ( ) Delete comment by activity id or media id
rtmedia_api_process_request ( )
rtmedia_api_process_rtmedia_gallery_request ( )
rtmedia_api_process_rtmedia_get_media_details_request ( )
rtmedia_api_process_rtmedia_upload_media_request ( )
rtmedia_api_process_unfollow_request ( )
rtmedia_api_process_update_avatar_request ( )
rtmedia_api_process_update_profile_request ( )
rtmedia_api_process_wp_forgot_password_request ( ) Sends a reset link to user email
rtmedia_api_process_wp_login_request ( ) Takes username and password, if succesful returns a access token
rtmedia_api_process_wp_register_request ( ) register a user through api request requires signup_* => display_name, username, password, confirm password, location,
rtmedia_api_response_object ( string $status, integer $status_code, string $message, boolean | array $data = false ) : boolean Returns a json object

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

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

public __construct ( )

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

public api_new_media_upload_dir ( $args )

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

Post comment on activity_id or media_id

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

Sends a reset link to user email

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

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

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

Fetch Likes by media id

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

Fetch Comments by media id

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

Like/Unlike by media_id or activity_id

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

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

Delete comment by activity id or media id

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

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

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

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

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

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

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

Sends a reset link to user email

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

Takes username and password, if succesful returns a access token

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

register a user through api request requires signup_* => display_name, username, password, confirm password, location,

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

Returns a json object
public rtmedia_api_response_object ( string $status, integer $status_code, string $message, boolean | array $data = false ) : boolean
$status string
$status_code integer
$message string
$data boolean | array
Результат boolean

Описание свойств

$ec_api_disabled публичное свойство

public $ec_api_disabled

$ec_bp_missing публичное свойство

public $ec_bp_missing

$ec_invalid_media_id публичное свойство

public $ec_invalid_media_id

$ec_invalid_request_type публичное свойство

public $ec_invalid_request_type

$ec_media_activity_id_missing публичное свойство

public $ec_media_activity_id_missing

$ec_method_missing публичное свойство

public $ec_method_missing

$ec_server_error публичное свойство

public $ec_server_error

$ec_token_invalid публичное свойство

public $ec_token_invalid

$ec_token_missing публичное свойство

public $ec_token_missing

$msg_api_disabled публичное свойство

public $msg_api_disabled

$msg_bp_missing публичное свойство

public $msg_bp_missing

$msg_invalid_media_id публичное свойство

public $msg_invalid_media_id

$msg_invalid_request_type публичное свойство

public $msg_invalid_request_type

$msg_media_activity_id_missing публичное свойство

public $msg_media_activity_id_missing

$msg_method_missing публичное свойство

public $msg_method_missing

$msg_server_error публичное свойство

public $msg_server_error

$msg_token_invalid публичное свойство

public $msg_token_invalid

$msg_token_missing публичное свойство

public $msg_token_missing

$rtmediajsonapifunction публичное свойство

public $rtmediajsonapifunction

$user_id публичное свойство

public $user_id