Внешний вид

AppBuilderAPIGalleryImageItem

Пример кода

// Highlighted PHP Code
include('../api/api.php');

$images = array(
	'http://fred-test-images-resized.s3.amazonaws.com/23362_Icon.png',
	'http://fred-test-images-resized.s3.amazonaws.com/21454_Icon.jpeg',
	'http://fred-test-images-resized.s3.amazonaws.com/23362_Icon.png',
	'http://fred-test-images-resized.s3.amazonaws.com/21454_Icon.jpeg',
	'http://fred-test-images-resized.s3.amazonaws.com/23362_Icon.png',
	'http://fred-test-images-resized.s3.amazonaws.com/23362_Icon.png'
);

$screen = new AppBuilderAPIGalleryScreen('GalleryScreen', 4);
foreach ($images as $image) {
	$screen->addChild(new AppBuilderAPIGalleryImageItem($image));
}

echo AppBuilderAPI::getScreenResponse($screen);

Comments (0)

Leave a comment

You are commenting as guest.