Documentation

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
string

getName()

Format: sections/{code}

public getName() : string

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

Return values
string

getSlug()

Generated slug for this section.

public getSlug() : string

Generated from protobuf field string slug = 3 [json_name = "slug"];

Return values
string

setDisplayName()

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

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

setName()

Format: sections/{code}

public setName(string $var) : $this

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

Parameters
$var : string
Return values
$this

setSlug()

Generated slug for this section.

public setSlug(string $var) : $this

Generated from protobuf field string slug = 3 [json_name = "slug"];

Parameters
$var : string
Return values
$this

        
On this page

Search results