PHP 클래스 RTMediaJsonApi, rtMedia

저자: Umesh Kumar ([email protected])
파일 보기 프로젝트 열기: rtCamp/rtMedia 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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