AppBuilderAPIListScreen

Базовое описание

Основной часто испозываемый скрин, 

Может содержать только следующие элементы линков

  • AppBuilderAPIButtonItem
  • AppBuilderAPILinkItem
  • AppBuilderAPIFormattedItem
  • AppBuilderAPIHrItem
  • AppBuilderAPIImageItem
  • AppBuilderAPIPickerItem
  • AppBuilderAPIPlainItem
  • AppBuilderAPITextItem
  • AppBuilderAPIThumbItem

Элементы форм

  • AppBuilderAPIInputItem
  • AppBuilderAPIPasswordItem
  • AppBuilderAPITextAreaItem
  • AppBuilderAPISelectItem
  • AppBuilderAPICaptureItem
  • AppBuilderAPICheckboxItem

Внешний вид

AppBuilderAPIListScreen

Пример кода

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

$screen = new AppBuilderAPIListScreen('AppBuilderAPIListScreen');
$screen->addChild( new AppBuilderAPIPlainItem('AppBuilderAPIPlainItem'));
$screen->addChild( new AppBuilderAPIPlainItem('AppBuilderAPIPlainItem','subtitle'));
$screen->addChild( new AppBuilderAPILinkItem('AppBuilderAPILinkItem', 'http://fred-test-images-resized.s3.amazonaws.com/23362_Icon.png'));

echo AppBuilderAPI::getScreenResponse($screen);

Comments (0)

Leave a comment

You are commenting as guest.