Documentation

Home extends Message
in package

Generated from protobuf message <code>website.admin.app.home.Home</code>

Table of Contents

Properties

$last_update_time  : mixed
Output only. Fecha de la última actualización.
$spotlight  : mixed
Tema único de la home. Solamente relleno si está activo.
$headline_news  : mixed
Listado de noticias para pintar en la home de la aplicación.

Methods

__construct()  : mixed
Constructor.
clearLastUpdateTime()  : mixed
clearSpotlight()  : mixed
getHeadlineNews()  : RepeatedField
Listado de noticias para pintar en la home de la aplicación.
getLastUpdateTime()  : Timestamp|null
Output only. Fecha de la última actualización.
getSpotlight()  : Spotlight|null
Tema único de la home. Solamente relleno si está activo.
hasLastUpdateTime()  : mixed
hasSpotlight()  : mixed
setHeadlineNews()  : $this
Listado de noticias para pintar en la home de la aplicación.
setLastUpdateTime()  : $this
Output only. Fecha de la última actualización.
setSpotlight()  : $this
Tema único de la home. Solamente relleno si está activo.

Properties

$last_update_time

Output only. Fecha de la última actualización.

protected mixed $last_update_time = null

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

$spotlight

Tema único de la home. Solamente relleno si está activo.

protected mixed $spotlight = null

Generated from protobuf field .website.admin.app.home.Spotlight spotlight = 3 [json_name = "spotlight"];

$headline_news

Listado de noticias para pintar en la home de la aplicación.

private mixed $headline_news

Formato: news/{code}.

Generated from protobuf field repeated string headline_news = 1 [json_name = "headlineNews"];

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<string>|\Google\Protobuf\Internal\RepeatedField $headline_news
      Listado de noticias para pintar en la home de la aplicación.
      Formato: news/{code}.
@type \Google\Protobuf\Timestamp $last_update_time
      Output only. Fecha de la última actualización.
@type \Website\Admin\App\Home\Spotlight $spotlight
      Tema único de la home. Solamente relleno si está activo.

}

clearLastUpdateTime()

public clearLastUpdateTime() : mixed

clearSpotlight()

public clearSpotlight() : mixed

getHeadlineNews()

Listado de noticias para pintar en la home de la aplicación.

public getHeadlineNews() : RepeatedField

Formato: news/{code}.

Generated from protobuf field repeated string headline_news = 1 [json_name = "headlineNews"];

Return values
RepeatedField

getLastUpdateTime()

Output only. Fecha de la última actualización.

public getLastUpdateTime() : Timestamp|null

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

Return values
Timestamp|null

getSpotlight()

Tema único de la home. Solamente relleno si está activo.

public getSpotlight() : Spotlight|null

Generated from protobuf field .website.admin.app.home.Spotlight spotlight = 3 [json_name = "spotlight"];

Return values
Spotlight|null

hasLastUpdateTime()

public hasLastUpdateTime() : mixed

hasSpotlight()

public hasSpotlight() : mixed

setHeadlineNews()

Listado de noticias para pintar en la home de la aplicación.

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

Formato: news/{code}.

Generated from protobuf field repeated string headline_news = 1 [json_name = "headlineNews"];

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

setLastUpdateTime()

Output only. Fecha de la última actualización.

public setLastUpdateTime(Timestamp $var) : $this

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

Parameters
$var : Timestamp
Return values
$this

setSpotlight()

Tema único de la home. Solamente relleno si está activo.

public setSpotlight(Spotlight $var) : $this

Generated from protobuf field .website.admin.app.home.Spotlight spotlight = 3 [json_name = "spotlight"];

Parameters
$var : Spotlight
Return values
$this

        
On this page

Search results