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

setDeletedAt(DateTime $deletedAt)

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

setType(string $type)

No description

string
getBrandName()

No description

setBrandName(string $brandName)

No description

setBaseImageUrl(mixed $baseImageUrl)

No description

setBaseImage()

No description

String
getBaseImageUrl()

No description

addImage(Image $image)

Add image

removeImage(Image $image)

Remove image

integer
getId()

Get id

setId(mixed $id)

No description

addProduct(Product $product)

Add product

removeProduct(Product $product)

Remove product

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()

Return Value

DateTime

at line 267
setDeletedAt(DateTime $deletedAt)

Parameters

DateTime $deletedAt

at line 275
mixed getSlug()

Return Value

mixed

at line 283
setSlug(mixed $slug)

Parameters

mixed $slug

at line 291
boolean hasNewImages()

Return Value

boolean

at line 299
setHasNewImages(boolean $hasNewImages)

Parameters

boolean $hasNewImages

at line 307
mixed getImages()

Return Value

mixed

at line 315
setImages(mixed $images)

Parameters

mixed $images

at line 323
string getType()

Return Value

string

at line 333
Brand setType(string $type)

Parameters

string $type

Return Value

Brand

at line 343
string getBrandName()

Return Value

string

at line 353
Brand setBrandName(string $brandName)

Parameters

string $brandName

Return Value

Brand

at line 363
setBaseImageUrl(mixed $baseImageUrl)

Parameters

mixed $baseImageUrl

at line 371
Brand setBaseImage()

Return Value

Brand

at line 383
String getBaseImageUrl()

Return Value

String

at line 395
Brand addImage(Image $image)

Add image

Parameters

Image $image

Return Value

Brand

at line 415
removeImage(Image $image)

Remove image

Parameters

Image $image

at line 427
integer getId()

Get id

Return Value

integer

at line 437
Brand setId(mixed $id)

Parameters

mixed $id

Return Value

Brand

at line 452
Brand addProduct(Product $product)

Add product

Parameters

Product $product

Return Value

Brand

at line 471
removeProduct(Product $product)

Remove product

Parameters

Product $product

at line 481
Collection getProducts()

Get products

Return Value

Collection

at line 489
string getCode()

Return Value

string

at line 497
setCode(string $code)

Parameters

string $code

at line 505
bool isVisible()

Return Value

bool

at line 515
$this setIsVisible(bool $isVisible)

Parameters

bool $isVisible

Return Value

$this

at line 525
int getPosition()

Return Value

int

at line 535
Brand setPosition(int $position)

Parameters

int $position

Return Value

Brand

at line 547
Brand setCustomCSVHeader(array $customCSVHeader)

Parameters

array $customCSVHeader

Return Value

Brand

at line 557
array getCSVHeader()

Return Value

array

at line 578
array getCSVValues()

Return Value

array

at line 598
CSVEntityInterface setCSVValues($csvRow, mixed $locale, array $csvHeaders, array $propertyMappings = array())

Parameters

$csvRow
mixed $locale
array $csvHeaders
array $propertyMappings

Return Value

CSVEntityInterface

at line 627
string getParentBrandName()

Return Value

string

at line 635
setParentBrandName(string $parentBrandName)

Parameters

string $parentBrandName

at line 643
string getSeoTitle()

Return Value

string

at line 653
Brand setSeoTitle(string $seoTitle)

Parameters

string $seoTitle

Return Value

Brand

Return Value

string

Parameters

string $permalink

Return Value

Brand

at line 683
string getSeoDescription()

Return Value

string

at line 693
Brand setSeoDescription(string $seoDescription)

Parameters

string $seoDescription

Return Value

Brand

at line 703
string getSeoKeywords()

Return Value

string

at line 713
Brand setSeoKeywords(string $seoKeywords)

Parameters

string $seoKeywords

Return Value

Brand