PHP Класс Jetpack_Tiled_Gallery_Grouper, 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