Item
extends Message
in package
Generated from protobuf message <code>website.admin.menus.Item</code>
Table of Contents
Properties
- $display_name : mixed
- Etiqueta que se mostrará en el menú.
- $url : mixed
- URL a la que apunta el menú.
Methods
- __construct() : mixed
- Constructor.
- getDisplayName() : string
- Etiqueta que se mostrará en el menú.
- getUrl() : string
- URL a la que apunta el menú.
- setDisplayName() : $this
- Etiqueta que se mostrará en el menú.
- setUrl() : $this
- URL a la que apunta el menú.
Properties
$display_name
Etiqueta que se mostrará en el menú.
protected
mixed
$display_name
= ''
Generated from protobuf field string display_name = 1 [json_name = "displayName"];
$url
URL a la que apunta el menú.
protected
mixed
$url
= ''
Generated from protobuf field string url = 2 [json_name = "url"];
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 $display_name Etiqueta que se mostrará en el menú. @type string $url URL a la que apunta el menú.}
getDisplayName()
Etiqueta que se mostrará en el menú.
public
getDisplayName() : string
Generated from protobuf field string display_name = 1 [json_name = "displayName"];
Return values
stringgetUrl()
URL a la que apunta el menú.
public
getUrl() : string
Generated from protobuf field string url = 2 [json_name = "url"];
Return values
stringsetDisplayName()
Etiqueta que se mostrará en el menú.
public
setDisplayName(string $var) : $this
Generated from protobuf field string display_name = 1 [json_name = "displayName"];
Parameters
- $var : string
Return values
$thissetUrl()
URL a la que apunta el menú.
public
setUrl(string $var) : $this
Generated from protobuf field string url = 2 [json_name = "url"];
Parameters
- $var : string