Section
extends Message
in package
Generated from protobuf message <code>website.app.models.Section</code>
Table of Contents
Properties
- $display_name : mixed
- Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
- $name : mixed
- Format: sections/{code}
- $slug : mixed
- Generated slug for this section.
Methods
- __construct() : mixed
- Constructor.
- getDisplayName() : string
- Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
- getName() : string
- Format: sections/{code}
- getSlug() : string
- Generated slug for this section.
- setDisplayName() : $this
- Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
- setName() : $this
- Format: sections/{code}
- setSlug() : $this
- Generated slug for this section.
Properties
$display_name
Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
protected
mixed
$display_name
= ''
$name
Format: sections/{code}
protected
mixed
$name
= ''
Generated from protobuf field string name = 1 [json_name = "name"];
$slug
Generated slug for this section.
protected
mixed
$slug
= ''
Generated from protobuf field string slug = 3 [json_name = "slug"];
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: sections/{code} @type string $display_name @type string $slug Generated slug for this section.}
getDisplayName()
Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
public
getDisplayName() : string
Return values
stringgetName()
Format: sections/{code}
public
getName() : string
Generated from protobuf field string name = 1 [json_name = "name"];
Return values
stringgetSlug()
Generated slug for this section.
public
getSlug() : string
Generated from protobuf field string slug = 3 [json_name = "slug"];
Return values
stringsetDisplayName()
Generated from protobuf field <code>string display_name = 2 [json_name = "displayName"];</code>
public
setDisplayName(string $var) : $this
Parameters
- $var : string
Return values
$thissetName()
Format: sections/{code}
public
setName(string $var) : $this
Generated from protobuf field string name = 1 [json_name = "name"];
Parameters
- $var : string
Return values
$thissetSlug()
Generated slug for this section.
public
setSlug(string $var) : $this
Generated from protobuf field string slug = 3 [json_name = "slug"];
Parameters
- $var : string