PHP 클래스 Jetpack_Tiled_Gallery_Grouper, jetpack-wp-galleries

파일 보기 프로젝트 열기: Automattic/jetpack-wp-galleries

공개 프로퍼티들

프로퍼티 타입 설명
$margin
$shapes This list is ordered. If you put a shape that's likely to occur on top, it will happen all the time.

공개 메소드들

메소드 설명
__construct ( $attachments, $shapes = [] )
apply_content_width ( $width ) todo: do not stretch images
calculate_group_sizes ( $row )
calculate_image_sizes ( $group )
get_current_row_size ( )
get_grouped_images ( )
get_images_with_sizes ( $attachments )
overwrite_shapes ( $shapes )
read_row ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $attachments, $shapes = [] )

apply_content_width() 공개 메소드

todo: do not stretch images
public apply_content_width ( $width )

calculate_group_sizes() 공개 메소드

public calculate_group_sizes ( $row )

calculate_image_sizes() 공개 메소드

public calculate_image_sizes ( $group )

get_current_row_size() 공개 메소드

get_grouped_images() 공개 메소드

public get_grouped_images ( )

get_images_with_sizes() 공개 메소드

public get_images_with_sizes ( $attachments )

overwrite_shapes() 공개 메소드

public overwrite_shapes ( $shapes )

read_row() 공개 메소드

public read_row ( )

프로퍼티 상세

$margin 공개적으로 프로퍼티

public $margin

$shapes 공개적으로 프로퍼티

This list is ordered. If you put a shape that's likely to occur on top, it will happen all the time.
public $shapes