PHP 클래스 WP_Image_Editor_Mock

상속: extends WP_Image_Editor
파일 보기 프로젝트 열기: lucatume/wp-browser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$load_return
$save_return
$test_return

공개 메소드들

메소드 설명
crop ( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false )
flip ( $horz, $vert )
load ( )
multi_resize ( $sizes )
resize ( $max_w, $max_h, $crop = false )
rotate ( $angle )
save ( $destfilename = null, $mime_type = null )
set_mime_type ( $mime_type = null ) Allow testing of jpeg_quality filter.
stream ( $mime_type = null )
supports_mime_type ( $mime_type )
test ( $args = [] )

메소드 상세

crop() 공개 메소드

public crop ( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false )

flip() 공개 메소드

public flip ( $horz, $vert )

load() 공개 메소드

public load ( )

multi_resize() 공개 메소드

public multi_resize ( $sizes )

resize() 공개 메소드

public resize ( $max_w, $max_h, $crop = false )

rotate() 공개 메소드

public rotate ( $angle )

save() 공개 메소드

public save ( $destfilename = null, $mime_type = null )

set_mime_type() 공개 메소드

Allow testing of jpeg_quality filter.
public set_mime_type ( $mime_type = null )

stream() 공개 메소드

public stream ( $mime_type = null )

supports_mime_type() 공개 정적인 메소드

public static supports_mime_type ( $mime_type )

test() 공개 정적인 메소드

public static test ( $args = [] )

프로퍼티 상세

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

public static $load_return

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

public static $save_return

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

public static $test_return