Documentation

MenuSubitem extends Message
in package

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

Table of Contents

Properties

$value  : mixed

Methods

__construct()  : mixed
Constructor.
getHeader()  : MenuHeader|null
Generated from protobuf field <code>.website.app.sections.MenuHeader header = 3 [json_name = "header"];</code>
getLink()  : MenuLink|null
Generated from protobuf field <code>.website.app.sections.MenuLink link = 2 [json_name = "link"];</code>
getSection()  : Section|null
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
getValue()  : string
hasHeader()  : mixed
hasLink()  : mixed
hasSection()  : mixed
setHeader()  : $this
Generated from protobuf field <code>.website.app.sections.MenuHeader header = 3 [json_name = "header"];</code>
setLink()  : $this
Generated from protobuf field <code>.website.app.sections.MenuLink link = 2 [json_name = "link"];</code>
setSection()  : $this
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>

Properties

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 \Website\App\Models\Section $section
@type \Website\App\Sections\MenuLink $link
@type \Website\App\Sections\MenuHeader $header

}

getHeader()

Generated from protobuf field <code>.website.app.sections.MenuHeader header = 3 [json_name = "header"];</code>

public getHeader() : MenuHeader|null
Return values
MenuHeader|null

Generated from protobuf field <code>.website.app.sections.MenuLink link = 2 [json_name = "link"];</code>

public getLink() : MenuLink|null
Return values
MenuLink|null

getSection()

Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>

public getSection() : Section|null
Return values
Section|null

getValue()

public getValue() : string
Return values
string

setHeader()

Generated from protobuf field <code>.website.app.sections.MenuHeader header = 3 [json_name = "header"];</code>

public setHeader(MenuHeader $var) : $this
Parameters
$var : MenuHeader
Return values
$this

Generated from protobuf field <code>.website.app.sections.MenuLink link = 2 [json_name = "link"];</code>

public setLink(MenuLink $var) : $this
Parameters
$var : MenuLink
Return values
$this

setSection()

Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>

public setSection(Section $var) : $this
Parameters
$var : Section
Return values
$this

        
On this page

Search results