PHP 클래스 Cloudinary\Uploader

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

공개 메소드들

메소드 설명
add_tag ( $tag, $public_ids = [], $options = [] )
build_upload_params ( &$options )
call_api ( $action, $params, $options = [], $file = NULL )
call_tags_api ( $tag, $command, $public_ids = [], &$options = [] )
create_archive ( $options = [], $target_format = NULL ) # Creates a new archive in the server and returns information in JSON format
create_zip ( $options = [] ) # Creates a new zip archive in the server and returns information in JSON format
destroy ( $public_id, $options = [] )
explicit ( $public_id, $options = [] )
explode ( $public_id, $options = [] )
generate_sprite ( $tag, $options = [] )
multi ( $tag, $options = [] )
remove_tag ( $tag, $public_ids = [], $options = [] )
rename ( $from_public_id, $to_public_id, $options = [] )
replace_tag ( $tag, $public_ids = [], $options = [] )
text ( $text, $options = [] )
unsigned_upload ( $file, $upload_preset, $options = [] )
upload ( $file, $options = [] )
upload_large ( $file, $options = [] ) Upload large raw files. Note that public_id should include an extension for best results.
upload_large_part ( $file, $options = [] ) Upload large raw files. Note that public_id should include an extension for best results.

보호된 메소드들

메소드 설명
build_custom_headers ( $headers )
build_eager ( $transformations )
build_responsive_breakpoints ( $breakpoints )

메소드 상세

add_tag() 공개 정적인 메소드

public static add_tag ( $tag, $public_ids = [], $options = [] )

build_custom_headers() 보호된 정적인 메소드

protected static build_custom_headers ( $headers )

build_eager() 보호된 정적인 메소드

protected static build_eager ( $transformations )

build_responsive_breakpoints() 보호된 정적인 메소드

protected static build_responsive_breakpoints ( $breakpoints )

build_upload_params() 공개 정적인 메소드

public static build_upload_params ( &$options )

call_api() 공개 정적인 메소드

public static call_api ( $action, $params, $options = [], $file = NULL )

call_tags_api() 공개 정적인 메소드

public static call_tags_api ( $tag, $command, $public_ids = [], &$options = [] )

create_archive() 공개 정적인 메소드

# Creates a new archive in the server and returns information in JSON format
public static create_archive ( $options = [], $target_format = NULL )

create_zip() 공개 정적인 메소드

# Creates a new zip archive in the server and returns information in JSON format
public static create_zip ( $options = [] )

destroy() 공개 정적인 메소드

public static destroy ( $public_id, $options = [] )

explicit() 공개 정적인 메소드

public static explicit ( $public_id, $options = [] )

explode() 공개 정적인 메소드

public static explode ( $public_id, $options = [] )

generate_sprite() 공개 정적인 메소드

public static generate_sprite ( $tag, $options = [] )

multi() 공개 정적인 메소드

public static multi ( $tag, $options = [] )

remove_tag() 공개 정적인 메소드

public static remove_tag ( $tag, $public_ids = [], $options = [] )

rename() 공개 정적인 메소드

public static rename ( $from_public_id, $to_public_id, $options = [] )

replace_tag() 공개 정적인 메소드

public static replace_tag ( $tag, $public_ids = [], $options = [] )

text() 공개 정적인 메소드

public static text ( $text, $options = [] )

unsigned_upload() 공개 정적인 메소드

public static unsigned_upload ( $file, $upload_preset, $options = [] )

upload() 공개 정적인 메소드

public static upload ( $file, $options = [] )

upload_large() 공개 정적인 메소드

Upload large raw files. Note that public_id should include an extension for best results.
public static upload_large ( $file, $options = [] )

upload_large_part() 공개 정적인 메소드

Upload large raw files. Note that public_id should include an extension for best results.
public static upload_large_part ( $file, $options = [] )