Documentation

MenuItem extends Message
in package

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

Table of Contents

Properties

$value  : mixed
$children  : mixed
Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>

Methods

__construct()  : mixed
Constructor.
getChildren()  : RepeatedField
Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>
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
setChildren()  : $this
Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>
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

$children

Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>

private mixed $children

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
@type array<\Website\App\Sections\MenuSubitem>|\Google\Protobuf\Internal\RepeatedField $children

}

getChildren()

Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>

public getChildren() : RepeatedField
Return values
RepeatedField

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

hasSection()

public hasSection() : mixed

setChildren()

Generated from protobuf field <code>repeated .website.app.sections.MenuSubitem children = 4 [json_name = "children"];</code>

public setChildren(array<string|int, MenuSubitem>|RepeatedField $var) : $this
Parameters
$var : array<string|int, MenuSubitem>|RepeatedField
Return values
$this

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