PHP 클래스 Cloudinary\Api

파일 보기 프로젝트 열기: cloudinary/cloudinary_php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$CLOUDINARY_API_ERROR_CLASSES

공개 메소드들

메소드 설명
call_api ( $method, $uri, $params, &$options )
create_streaming_profile ( $name, array $options = [] ) : Response Create a new streaming profile
create_transformation ( $name, $definition, $options = [] )
create_upload_mapping ( $name, $options = [] )
create_upload_preset ( $options = [] )
delete_all_resources ( $options = [] )
delete_derived_resources ( $derived_resource_ids, $options = [] )
delete_resources ( $public_ids, $options = [] )
delete_resources_by_prefix ( $prefix, $options = [] )
delete_resources_by_tag ( $tag, $options = [] )
delete_streaming_profile ( $name, array $options = [] ) : Response Delete a streaming profile information. Predefined profiles are restored to the default setting.
delete_transformation ( $transformation, $options = [] )
delete_upload_mapping ( $name, $options = [] )
delete_upload_preset ( $name, $options = [] )
get_streaming_profile ( $name, array $options = [] ) : Response Get the information of a single streaming profile
list_streaming_profiles ( array $options = [] ) : Response List all streaming profiles associated with the current customer
parse_json_response ( $response )
ping ( $options = [] )
resource ( $public_id, $options = [] )
resource_types ( $options = [] )
resources ( $options = [] )
resources_by_ids ( $public_ids, $options = [] )
resources_by_moderation ( $kind, $status, $options = [] )
resources_by_tag ( $tag, $options = [] )
restore ( $public_ids, $options = [] )
root_folders ( $options = [] )
subfolders ( $of_folder_path, $options = [] )
tags ( $options = [] )
transformation ( $transformation, $options = [] )
transformations ( $options = [] )
update ( $public_id, $options = [] )
update_streaming_profile ( $name, array $options = [] ) : Response Update an existing streaming profile
update_transformation ( $transformation, $updates = [], $options = [] ) # updates - currently only supported update is the "allowed_for_strict" boolean flag
update_upload_mapping ( $name, $options = [] )
update_upload_preset ( $name, $options = [] )
upload_mapping ( $name, $options = [] )
upload_mappings ( $options = [] )
upload_preset ( $name, $options = [] )
upload_presets ( $options = [] )
usage ( $options = [] )

보호된 메소드들

메소드 설명
execute ( $ch ) # Based on http://snipplr.com/view/17242/
only ( &$hash, $keys )
prepare_streaming_profile_params ( $options ) : array Prepare streaming profile parameters for API calls
transformation_string ( $transformation )

메소드 상세

call_api() 공개 메소드

public call_api ( $method, $uri, $params, &$options )

create_streaming_profile() 공개 메소드

Create a new streaming profile
public create_streaming_profile ( $name, array $options = [] ) : Response
$name the name of the new profile. if the name is of a predefined profile, the profile will be modified.
$options array additional options
리턴 Cloudinary\Api\Response

create_transformation() 공개 메소드

public create_transformation ( $name, $definition, $options = [] )

create_upload_mapping() 공개 메소드

public create_upload_mapping ( $name, $options = [] )

create_upload_preset() 공개 메소드

public create_upload_preset ( $options = [] )

delete_all_resources() 공개 메소드

public delete_all_resources ( $options = [] )

delete_derived_resources() 공개 메소드

public delete_derived_resources ( $derived_resource_ids, $options = [] )

delete_resources() 공개 메소드

public delete_resources ( $public_ids, $options = [] )

delete_resources_by_prefix() 공개 메소드

public delete_resources_by_prefix ( $prefix, $options = [] )

delete_resources_by_tag() 공개 메소드

public delete_resources_by_tag ( $tag, $options = [] )

delete_streaming_profile() 공개 메소드

Delete a streaming profile information. Predefined profiles are restored to the default setting.
public delete_streaming_profile ( $name, array $options = [] ) : Response
$name the name of the streaming profile to delete
$options array additional options
리턴 Cloudinary\Api\Response

delete_transformation() 공개 메소드

public delete_transformation ( $transformation, $options = [] )

delete_upload_mapping() 공개 메소드

public delete_upload_mapping ( $name, $options = [] )

delete_upload_preset() 공개 메소드

public delete_upload_preset ( $name, $options = [] )

execute() 보호된 메소드

# Based on http://snipplr.com/view/17242/
protected execute ( $ch )

get_streaming_profile() 공개 메소드

Get the information of a single streaming profile
public get_streaming_profile ( $name, array $options = [] ) : Response
$name the name of the profile
$options array other options
리턴 Cloudinary\Api\Response An array with a "data" key for results

list_streaming_profiles() 공개 메소드

List all streaming profiles associated with the current customer
public list_streaming_profiles ( array $options = [] ) : Response
$options array options
리턴 Cloudinary\Api\Response An array with a "data" key for results

only() 보호된 메소드

protected only ( &$hash, $keys )

parse_json_response() 정적인 공개 메소드

static public parse_json_response ( $response )

ping() 공개 메소드

public ping ( $options = [] )

prepare_streaming_profile_params() 보호된 메소드

Prepare streaming profile parameters for API calls
protected prepare_streaming_profile_params ( $options ) : array
$options the options passed to the API
리턴 array A single profile parameters

resource() 공개 메소드

public resource ( $public_id, $options = [] )

resource_types() 공개 메소드

public resource_types ( $options = [] )

resources() 공개 메소드

public resources ( $options = [] )

resources_by_ids() 공개 메소드

public resources_by_ids ( $public_ids, $options = [] )

resources_by_moderation() 공개 메소드

public resources_by_moderation ( $kind, $status, $options = [] )

resources_by_tag() 공개 메소드

public resources_by_tag ( $tag, $options = [] )

restore() 공개 메소드

public restore ( $public_ids, $options = [] )

root_folders() 공개 메소드

public root_folders ( $options = [] )

subfolders() 공개 메소드

public subfolders ( $of_folder_path, $options = [] )

tags() 공개 메소드

public tags ( $options = [] )

transformation() 공개 메소드

public transformation ( $transformation, $options = [] )

transformation_string() 보호된 메소드

protected transformation_string ( $transformation )

transformations() 공개 메소드

public transformations ( $options = [] )

update() 공개 메소드

public update ( $public_id, $options = [] )

update_streaming_profile() 공개 메소드

Update an existing streaming profile
public update_streaming_profile ( $name, array $options = [] ) : Response
$name the name of the prodile
$options array additional options
리턴 Cloudinary\Api\Response

update_transformation() 공개 메소드

# updates - currently only supported update is the "allowed_for_strict" boolean flag
public update_transformation ( $transformation, $updates = [], $options = [] )

update_upload_mapping() 공개 메소드

public update_upload_mapping ( $name, $options = [] )

update_upload_preset() 공개 메소드

public update_upload_preset ( $name, $options = [] )

upload_mapping() 공개 메소드

public upload_mapping ( $name, $options = [] )

upload_mappings() 공개 메소드

public upload_mappings ( $options = [] )

upload_preset() 공개 메소드

public upload_preset ( $name, $options = [] )

upload_presets() 공개 메소드

public upload_presets ( $options = [] )

usage() 공개 메소드

public usage ( $options = [] )

프로퍼티 상세

$CLOUDINARY_API_ERROR_CLASSES 정적으로 공개적으로 프로퍼티

static public $CLOUDINARY_API_ERROR_CLASSES