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
$value
protected
mixed
$value
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|nullgetLink()
Generated from protobuf field <code>.website.app.sections.MenuLink link = 2 [json_name = "link"];</code>
public
getLink() : MenuLink|null
Return values
MenuLink|nullgetSection()
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
public
getSection() : Section|null
Return values
Section|nullgetValue()
public
getValue() : string
Return values
stringhasHeader()
public
hasHeader() : mixed
hasLink()
public
hasLink() : mixed
hasSection()
public
hasSection() : mixed
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
$thissetLink()
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
$thissetSection()
Generated from protobuf field <code>.website.app.models.Section section = 1 [json_name = "section"];</code>
public
setSection(Section $var) : $this
Parameters
- $var : Section