Documentation

HomeReply extends Message
in package

Generated from protobuf message <code>website.app.sections.HomeReply</code>

Table of Contents

Properties

$last_update_time  : mixed
Last update of both headlines and spotlight news.
$spotlight  : mixed
Spotlight news highlighted temporarily, all related to the same urgent topic.
$groups  : mixed
One group per section that should be highlighted on the home page.
$headline_news  : mixed
List of news selected manually by the editor.
$sections  : mixed
Sections present in the returned news. Only those in the reply will be present here.

Methods

__construct()  : mixed
Constructor.
clearLastUpdateTime()  : mixed
clearSpotlight()  : mixed
getGroups()  : RepeatedField
One group per section that should be highlighted on the home page.
getHeadlineNews()  : RepeatedField
List of news selected manually by the editor.
getLastUpdateTime()  : Timestamp|null
Last update of both headlines and spotlight news.
getSections()  : RepeatedField
Sections present in the returned news. Only those in the reply will be present here.
getSpotlight()  : Spotlight|null
Spotlight news highlighted temporarily, all related to the same urgent topic.
hasLastUpdateTime()  : mixed
hasSpotlight()  : mixed
setGroups()  : $this
One group per section that should be highlighted on the home page.
setHeadlineNews()  : $this
List of news selected manually by the editor.
setLastUpdateTime()  : $this
Last update of both headlines and spotlight news.
setSections()  : $this
Sections present in the returned news. Only those in the reply will be present here.
setSpotlight()  : $this
Spotlight news highlighted temporarily, all related to the same urgent topic.

Properties

$last_update_time

Last update of both headlines and spotlight news.

protected mixed $last_update_time = null

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3 [json_name = "lastUpdateTime"];

$spotlight

Spotlight news highlighted temporarily, all related to the same urgent topic.

protected mixed $spotlight = null

Generated from protobuf field .website.app.sections.Spotlight spotlight = 2 [json_name = "spotlight"];

$groups

One group per section that should be highlighted on the home page.

private mixed $groups

Generated from protobuf field repeated .website.app.sections.Group groups = 4 [json_name = "groups"];

$headline_news

List of news selected manually by the editor.

private mixed $headline_news

Generated from protobuf field repeated .website.app.models.News headline_news = 1 [json_name = "headlineNews"];

$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 = 5 [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\News>|\Google\Protobuf\Internal\RepeatedField $headline_news
      List of news selected manually by the editor.
@type \Website\App\Sections\Spotlight $spotlight
      Spotlight news highlighted temporarily, all related to the same urgent topic.
@type \Google\Protobuf\Timestamp $last_update_time
      Last update of both headlines and spotlight news.
@type array<\Website\App\Sections\Group>|\Google\Protobuf\Internal\RepeatedField $groups
      One group per section that should be highlighted on the home page.
@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.

}

clearLastUpdateTime()

public clearLastUpdateTime() : mixed

clearSpotlight()

public clearSpotlight() : mixed

getGroups()

One group per section that should be highlighted on the home page.

public getGroups() : RepeatedField

Generated from protobuf field repeated .website.app.sections.Group groups = 4 [json_name = "groups"];

Return values
RepeatedField

getHeadlineNews()

List of news selected manually by the editor.

public getHeadlineNews() : RepeatedField

Generated from protobuf field repeated .website.app.models.News headline_news = 1 [json_name = "headlineNews"];

Return values
RepeatedField

getLastUpdateTime()

Last update of both headlines and spotlight news.

public getLastUpdateTime() : Timestamp|null

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3 [json_name = "lastUpdateTime"];

Return values
Timestamp|null

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 = 5 [json_name = "sections"];

Return values
RepeatedField

getSpotlight()

Spotlight news highlighted temporarily, all related to the same urgent topic.

public getSpotlight() : Spotlight|null

Generated from protobuf field .website.app.sections.Spotlight spotlight = 2 [json_name = "spotlight"];

Return values
Spotlight|null

hasLastUpdateTime()

public hasLastUpdateTime() : mixed

hasSpotlight()

public hasSpotlight() : mixed

setGroups()

One group per section that should be highlighted on the home page.

public setGroups(array<string|int, Group>|RepeatedField $var) : $this

Generated from protobuf field repeated .website.app.sections.Group groups = 4 [json_name = "groups"];

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

setHeadlineNews()

List of news selected manually by the editor.

public setHeadlineNews(array<string|int, News>|RepeatedField $var) : $this

Generated from protobuf field repeated .website.app.models.News headline_news = 1 [json_name = "headlineNews"];

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

setLastUpdateTime()

Last update of both headlines and spotlight news.

public setLastUpdateTime(Timestamp $var) : $this

Generated from protobuf field .google.protobuf.Timestamp last_update_time = 3 [json_name = "lastUpdateTime"];

Parameters
$var : Timestamp
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 = 5 [json_name = "sections"];

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

setSpotlight()

Spotlight news highlighted temporarily, all related to the same urgent topic.

public setSpotlight(Spotlight $var) : $this

Generated from protobuf field .website.app.sections.Spotlight spotlight = 2 [json_name = "spotlight"];

Parameters
$var : Spotlight
Return values
$this

        
On this page

Search results