Link Search Menu Expand Document

Constructor: pageBlockPhoto

Back to constructors index

A photo

Attributes:

NameTypeRequiredDescription
photo_idlongYesPhoto ID
captionPageCaptionYesCaption
urlstringOptionalHTTP URL of page the photo leads to when clicked
webpage_idlongOptionalID of preview of the page the photo leads to when clicked

Type: PageBlock

Example:

$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => PageCaption, 'url' => 'string', 'webpage_id' => long];