Brand
extends ResourceModel
in package
Uses
HasCustomUrl
Tags
Table of Contents
- $custom_url : CustomUrl|null
- $id : int
- $image_url : string
- $meta_description : string|null
- $meta_keywords : array<string|int, mixed>
- $name : string
- $page_title : string
- $search_keywords : string
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
- setCustomUrl() : void
- Set the URL for a category, brand, or product.
Properties
$custom_url
public
CustomUrl|null
$custom_url
Tags
$id
public
int
$id
Tags
$image_url
public
string
$image_url
Tags
$meta_description
public
string|null
$meta_description
Tags
$meta_keywords
public
array<string|int, mixed>
$meta_keywords
Tags
$name
public
string
$name
Tags
$page_title
public
string
$page_title
Tags
$search_keywords
public
string
$search_keywords
Tags
Methods
__construct()
public
__construct([stdClass|null $optionObject = null ]) : mixed
Parameters
- $optionObject : stdClass|null = null
Tags
Return values
mixed —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setCustomUrl()
Set the URL for a category, brand, or product.
public
setCustomUrl(string $url) : void
Just a shortcut to setting {url, is_customized: true}
Parameters
- $url : string