Documentation

ExpandedNews extends Message
in package

Generated from protobuf message <code>website.app.models.ExpandedNews</code>

Table of Contents

Properties

$content  : mixed
Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>
$name  : mixed
Format: news/{code}
$publish_time  : mixed
Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>
$update_time  : mixed
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>

Methods

__construct()  : mixed
Constructor.
clearPublishTime()  : mixed
clearUpdateTime()  : mixed
getContent()  : string
Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>
getName()  : string
Format: news/{code}
getPublishTime()  : Timestamp|null
Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>
getUpdateTime()  : Timestamp|null
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>
hasPublishTime()  : mixed
hasUpdateTime()  : mixed
setContent()  : $this
Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>
setName()  : $this
Format: news/{code}
setPublishTime()  : $this
Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>
setUpdateTime()  : $this
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>

Properties

$content

Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>

protected mixed $content = ''

$name

Format: news/{code}

protected mixed $name = ''

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

$publish_time

Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>

protected mixed $publish_time = null

$update_time

Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>

protected mixed $update_time = null

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 $name
      Format: news/{code}
@type string $content
@type \Google\Protobuf\Timestamp $publish_time
@type \Google\Protobuf\Timestamp $update_time

}

getContent()

Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>

public getContent() : string
Return values
string

getName()

Format: news/{code}

public getName() : string

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

Return values
string

getPublishTime()

Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>

public getPublishTime() : Timestamp|null
Return values
Timestamp|null

getUpdateTime()

Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>

public getUpdateTime() : Timestamp|null
Return values
Timestamp|null

setContent()

Generated from protobuf field <code>string content = 2 [json_name = "content"];</code>

public setContent(string $var) : $this
Parameters
$var : string
Return values
$this

setName()

Format: news/{code}

public setName(string $var) : $this

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

Parameters
$var : string
Return values
$this

setPublishTime()

Generated from protobuf field <code>.google.protobuf.Timestamp publish_time = 3 [json_name = "publishTime"];</code>

public setPublishTime(Timestamp $var) : $this
Parameters
$var : Timestamp
Return values
$this

setUpdateTime()

Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4 [json_name = "updateTime"];</code>

public setUpdateTime(Timestamp $var) : $this
Parameters
$var : Timestamp
Return values
$this

        
On this page

Search results