Spotlight
extends Message
in package
Generated from protobuf message <code>website.admin.app.home.Spotlight</code>
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- getNews() : RepeatedField
- Listado de noticias del tema único.
- getTitle() : string
- Título del tema único.
- setNews() : $this
- Listado de noticias del tema único.
- setTitle() : $this
- Título del tema único.
Properties
$title
Título del tema único.
protected
mixed
$title
= ''
Generated from protobuf field string title = 1 [json_name = "title"];
$news
Listado de noticias del tema único.
private
mixed
$news
Formato: news/{code}.
Generated from protobuf field repeated string news = 2 [json_name = "news"];
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 string $title Título del tema único. @type array<string>|\Google\Protobuf\Internal\RepeatedField $news Listado de noticias del tema único. Formato: news/{code}.}
getNews()
Listado de noticias del tema único.
public
getNews() : RepeatedField
Formato: news/{code}.
Generated from protobuf field repeated string news = 2 [json_name = "news"];
Return values
RepeatedFieldgetTitle()
Título del tema único.
public
getTitle() : string
Generated from protobuf field string title = 1 [json_name = "title"];
Return values
stringsetNews()
Listado de noticias del tema único.
public
setNews(array<string|int, string>|RepeatedField $var) : $this
Formato: news/{code}.
Generated from protobuf field repeated string news = 2 [json_name = "news"];
Parameters
- $var : array<string|int, string>|RepeatedField
Return values
$thissetTitle()
Título del tema único.
public
setTitle(string $var) : $this
Generated from protobuf field string title = 1 [json_name = "title"];
Parameters
- $var : string