PHP 클래스 AS3CF_S3_To_Local, wp-amazon-s3-and-cloudfront

상속: extends AS3CF_Filter
파일 보기 프로젝트 열기: deliciousbrains/wp-amazon-s3-and-cloudfront

공개 메소드들

메소드 설명
filter_widget_update ( array $instance, array $new_instance, array $old_instance, WP_Widget $class ) : array Filter widget update.

보호된 메소드들

메소드 설명
get_attachment_id_from_url ( string $url ) : boolean | integer Get attachment ID from URL.
get_attachment_ids_from_urls ( array $urls ) : array Get attachment IDs from URLs.
get_base_url ( integer $attachment_id ) : string | false Get base URL.
get_url ( integer $attachment_id, null | string $size = null ) : boolean | string Get URL
init ( ) Init.
normalize_find_value ( string $url ) : string Normalize find value.
normalize_replace_value ( string $url ) : string Normalize replace value.
post_process_content ( string $content ) : string Post process content.
pre_replace_content ( string $content ) : string Pre replace content.
url_needs_replacing ( string $url ) : boolean Does URL need replacing?

메소드 상세

filter_widget_update() 공개 메소드

Filter widget update.
public filter_widget_update ( array $instance, array $new_instance, array $old_instance, WP_Widget $class ) : array
$instance array
$new_instance array
$old_instance array
$class WP_Widget
리턴 array

get_attachment_id_from_url() 보호된 메소드

Get attachment ID from URL.
protected get_attachment_id_from_url ( string $url ) : boolean | integer
$url string
리턴 boolean | integer

get_attachment_ids_from_urls() 보호된 메소드

Get attachment IDs from URLs.
protected get_attachment_ids_from_urls ( array $urls ) : array
$urls array
리턴 array url => attachment ID (or false)

get_base_url() 보호된 메소드

Get base URL.
protected get_base_url ( integer $attachment_id ) : string | false
$attachment_id integer
리턴 string | false

get_url() 보호된 메소드

Get URL
protected get_url ( integer $attachment_id, null | string $size = null ) : boolean | string
$attachment_id integer
$size null | string
리턴 boolean | string

init() 보호된 메소드

Init.
protected init ( )

normalize_find_value() 보호된 메소드

Normalize find value.
protected normalize_find_value ( string $url ) : string
$url string
리턴 string

normalize_replace_value() 보호된 메소드

Normalize replace value.
protected normalize_replace_value ( string $url ) : string
$url string
리턴 string

post_process_content() 보호된 메소드

Post process content.
protected post_process_content ( string $content ) : string
$content string
리턴 string

pre_replace_content() 보호된 메소드

Pre replace content.
protected pre_replace_content ( string $content ) : string
$content string
리턴 string

url_needs_replacing() 보호된 메소드

Does URL need replacing?
protected url_needs_replacing ( string $url ) : boolean
$url string
리턴 boolean