Documentation

Menu extends Message
in package

Generated from protobuf message <code>website.admin.menus.Menu</code>

Table of Contents

Properties

$home  : mixed
Menú de la home.
$sections  : mixed
Menú por secciones.

Methods

__construct()  : mixed
Constructor.
getHome()  : RepeatedField
Menú de la home.
getSections()  : RepeatedField
Menú por secciones.
setHome()  : $this
Menú de la home.
setSections()  : $this
Menú por secciones.

Properties

$home

Menú de la home.

private mixed $home

Generated from protobuf field repeated .website.admin.menus.Item home = 2 [json_name = "home"];

$sections

Menú por secciones.

private mixed $sections

Generated from protobuf field repeated .website.admin.menus.Section sections = 1 [json_name = "sections"];

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 array<\Website\Admin\Menus\Section>|\Google\Protobuf\Internal\RepeatedField $sections
      Menú por secciones.
@type array<\Website\Admin\Menus\Item>|\Google\Protobuf\Internal\RepeatedField $home
      Menú de la home.

}

getHome()

Menú de la home.

public getHome() : RepeatedField

Generated from protobuf field repeated .website.admin.menus.Item home = 2 [json_name = "home"];

Return values
RepeatedField

getSections()

Menú por secciones.

public getSections() : RepeatedField

Generated from protobuf field repeated .website.admin.menus.Section sections = 1 [json_name = "sections"];

Return values
RepeatedField

setHome()

Menú de la home.

public setHome(array<string|int, Item>|RepeatedField $var) : $this

Generated from protobuf field repeated .website.admin.menus.Item home = 2 [json_name = "home"];

Parameters
$var : array<string|int, Item>|RepeatedField
Return values
$this

setSections()

Menú por secciones.

public setSections(array<string|int, Section>|RepeatedField $var) : $this

Generated from protobuf field repeated .website.admin.menus.Section sections = 1 [json_name = "sections"];

Parameters
$var : array<string|int, Section>|RepeatedField
Return values
$this

        
On this page

Search results