PHP Class RTMediaJsonApi, rtMedia

Author: Umesh Kumar ([email protected])
Afficher le fichier Open project: rtCamp/rtMedia Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

public __construct ( )

api_new_media_upload_dir() public méthode

public api_new_media_upload_dir ( $args )

rtmedia_api_process_add_rtmedia_comment_request() public méthode

Post comment on activity_id or media_id

rtmedia_api_process_bp_get_activities_request() public méthode

Sends a reset link to user email

rtmedia_api_process_bp_get_profile_request() public méthode

rtmedia_api_process_follow_request() public méthode

rtmedia_api_process_get_likes_rtmedia_request() public méthode

Fetch Likes by media id

rtmedia_api_process_get_rtmedia_comments_request() public méthode

Fetch Comments by media id

rtmedia_api_process_like_media_request() public méthode

Like/Unlike by media_id or activity_id

rtmedia_api_process_logout_request() public méthode

rtmedia_api_process_remove_comment_request() public méthode

Delete comment by activity id or media id

rtmedia_api_process_request() public méthode

rtmedia_api_process_rtmedia_get_media_details_request() public méthode

rtmedia_api_process_rtmedia_upload_media_request() public méthode

rtmedia_api_process_unfollow_request() public méthode

rtmedia_api_process_update_avatar_request() public méthode

rtmedia_api_process_update_profile_request() public méthode

rtmedia_api_process_wp_forgot_password_request() public méthode

Sends a reset link to user email

rtmedia_api_process_wp_login_request() public méthode

Takes username and password, if succesful returns a access token

rtmedia_api_process_wp_register_request() public méthode

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

rtmedia_api_response_object() public méthode

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
Résultat boolean

Property Details

$ec_api_disabled public_oe property

public $ec_api_disabled

$ec_bp_missing public_oe property

public $ec_bp_missing

$ec_invalid_media_id public_oe property

public $ec_invalid_media_id

$ec_invalid_request_type public_oe property

public $ec_invalid_request_type

$ec_media_activity_id_missing public_oe property

public $ec_media_activity_id_missing

$ec_method_missing public_oe property

public $ec_method_missing

$ec_server_error public_oe property

public $ec_server_error

$ec_token_invalid public_oe property

public $ec_token_invalid

$ec_token_missing public_oe property

public $ec_token_missing

$msg_api_disabled public_oe property

public $msg_api_disabled

$msg_bp_missing public_oe property

public $msg_bp_missing

$msg_invalid_media_id public_oe property

public $msg_invalid_media_id

$msg_invalid_request_type public_oe property

public $msg_invalid_request_type

$msg_media_activity_id_missing public_oe property

public $msg_media_activity_id_missing

$msg_method_missing public_oe property

public $msg_method_missing

$msg_server_error public_oe property

public $msg_server_error

$msg_token_invalid public_oe property

public $msg_token_invalid

$msg_token_missing public_oe property

public $msg_token_missing

$rtmediajsonapifunction public_oe property

public $rtmediajsonapifunction

$user_id public_oe property

public $user_id