Brand
class Brand implements PrimaryKeyInterface, CSVEntityInterface, BlockEntity, RelationshipEntityInterface
Brand
Properties
| protected string | $brandName | Brand name | |
| protected string | $type | Brand type | |
| protected string | $baseImageUrl | Brand base image web path | |
| protected string | $code | Brand code | |
| protected string | $parentBrandName | Alternative brand name |
Methods
__construct()
Construct
getDeletedAt()
No description
mixed
getSlug()
No description
setSlug(mixed $slug)
No description
boolean
hasNewImages()
No description
setHasNewImages(boolean $hasNewImages)
No description
mixed
getImages()
No description
setImages(mixed $images)
No description
string
getType()
No description
string
getBrandName()
No description
setBrandName(string $brandName)
No description
setBaseImageUrl(mixed $baseImageUrl)
No description
setBaseImage()
No description
String
getBaseImageUrl()
No description
integer
getId()
Get id
Collection
getProducts()
Get products
string
getCode()
No description
setCode(string $code)
No description
bool
isVisible()
No description
$this
setIsVisible(bool $isVisible)
No description
int
getPosition()
No description
setPosition(int $position)
No description
setCustomCSVHeader(array $customCSVHeader)
No description
array
getCSVHeader()
No description
array
getCSVValues()
No description
setCSVValues($csvRow, mixed $locale, array $csvHeaders, array $propertyMappings = array())
No description
string
getParentBrandName()
No description
setParentBrandName(string $parentBrandName)
No description
string
getSeoTitle()
No description
setSeoTitle(string $seoTitle)
No description
string
getPermalink()
No description
setPermalink(string $permalink)
No description
string
getSeoDescription()
No description
setSeoDescription(string $seoDescription)
No description
string
getSeoKeywords()
No description
setSeoKeywords(string $seoKeywords)
No description
Details
at line 249
__construct()
Construct
at line 259
DateTime
getDeletedAt()
at line 267
setDeletedAt(DateTime $deletedAt)
at line 275
mixed
getSlug()
at line 283
setSlug(mixed $slug)
at line 291
boolean
hasNewImages()
at line 299
setHasNewImages(boolean $hasNewImages)
at line 307
mixed
getImages()
at line 315
setImages(mixed $images)
at line 323
string
getType()
at line 333
Brand
setType(string $type)
at line 343
string
getBrandName()
at line 353
Brand
setBrandName(string $brandName)
at line 363
setBaseImageUrl(mixed $baseImageUrl)
at line 371
Brand
setBaseImage()
at line 383
String
getBaseImageUrl()
at line 415
removeImage(Image $image)
Remove image
at line 427
integer
getId()
Get id
at line 437
Brand
setId(mixed $id)
at line 471
removeProduct(Product $product)
Remove product
at line 481
Collection
getProducts()
Get products