Documentation

Group extends Message
in package

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

Table of Contents

Properties

$section  : mixed
Format: sections/{code}
$news  : mixed
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>

Methods

__construct()  : mixed
Constructor.
getNews()  : RepeatedField
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
getSection()  : string
Format: sections/{code}
setNews()  : $this
Generated from protobuf field <code>repeated .website.app.models.News news = 2 [json_name = "news"];</code>
setSection()  : $this
Format: sections/{code}

Properties

$section

Format: sections/{code}

protected mixed $section = ''

Generated from protobuf field string section = 1 [json_name = "section"];

$news

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

private mixed $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 $section
      Format: sections/{code}
@type array<\Website\App\Models\News>|\Google\Protobuf\Internal\RepeatedField $news

}

getNews()

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

public getNews() : RepeatedField
Return values
RepeatedField

getSection()

Format: sections/{code}

public getSection() : string

Generated from protobuf field string section = 1 [json_name = "section"];

Return values
string

setNews()

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

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

setSection()

Format: sections/{code}

public setSection(string $var) : $this

Generated from protobuf field string section = 1 [json_name = "section"];

Parameters
$var : string
Return values
$this

        
On this page

Search results