Documentation

BatchGetReply extends Message
in package

Generated from protobuf message <code>website.app.news.BatchGetReply</code>

Table of Contents

Properties

$news  : mixed
Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>
$sections  : mixed
Sections present in the returned news. Only those in the reply will be present here.

Methods

__construct()  : mixed
Constructor.
getNews()  : RepeatedField
Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>
getSections()  : RepeatedField
Sections present in the returned news. Only those in the reply will be present here.
setNews()  : $this
Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>
setSections()  : $this
Sections present in the returned news. Only those in the reply will be present here.

Properties

$news

Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>

private mixed $news

$sections

Sections present in the returned news. Only those in the reply will be present here.

private mixed $sections

Generated from protobuf field repeated .website.app.models.Section sections = 2 [json_name = "sections"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type array<\Website\App\Models\Section>|\Google\Protobuf\Internal\RepeatedField $sections
      Sections present in the returned news. Only those in the reply will be
      present here.
@type array<\Website\App\News\News>|\Google\Protobuf\Internal\RepeatedField $news

}

getNews()

Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>

public getNews() : RepeatedField
Return values
RepeatedField

getSections()

Sections present in the returned news. Only those in the reply will be present here.

public getSections() : RepeatedField

Generated from protobuf field repeated .website.app.models.Section sections = 2 [json_name = "sections"];

Return values
RepeatedField

setNews()

Generated from protobuf field <code>repeated .website.app.news.News news = 3 [json_name = "news"];</code>

public setNews(array<string|int, News>|RepeatedField $var) : $this
Parameters
$var : array<string|int, News>|RepeatedField
Return values
$this

setSections()

Sections present in the returned news. Only those in the reply will be present here.

public setSections(array<string|int, Section>|RepeatedField $var) : $this

Generated from protobuf field repeated .website.app.models.Section sections = 2 [json_name = "sections"];

Parameters
$var : array<string|int, Section>|RepeatedField
Return values
$this

        
On this page

Search results