Class Category
Class Category
This class represents a shop category which is not persisted yet.
- Category implements CategoryInterface
Direct known subclasses
Category: System
Located at Services/Core/Category/Entities/Category.inc.php
Methods summary
public
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
DateTime
|
|
public
|
|
public
DateTime
|
|
public
|
#
setLastModifiedDateTime( DateTime $modified )
Sets the date time when the category was modified last. |
public
|
|
public
string
|
#
getName(
Returns the name of the category in the language with the provided language code. |
public
|
#
setName(
Sets the name of the category for the language with the provided language code. |
public
string
|
#
getHeadingTitle(
Returns the heading title of the category in the language with the provided language code. |
public
|
#
setHeadingTitle(
Sets the heading title of the category for the language with the provided language code. |
public
string
|
#
getDescription(
Returns the description of the category in the language with the provided language code. |
public
|
#
setDescription(
Sets the description of the category for the language with the provided language code. |
public
string
|
#
getMetaTitle(
Returns the meta title of the category in the language with the provided language code. |
public
|
#
setMetaTitle(
Sets the meta title of the category for the language with the provided language code. |
public
string
|
#
getMetaDescription(
Returns the meta title of the category in the language with the provided language code. |
public
|
#
setMetaDescription(
Sets the meta title of the category for the language with the provided language code. |
public
string
|
#
getMetaKeywords(
Returns the meta keywords of the category in the language with the provided language code. |
public
|
#
setMetaKeywords(
Sets the meta keywords of the category for the language with the provided language code. |
public
string
|
#
getUrlKeywords(
Returns the url keywords of the category in the language with the provided language code. |
public
|
#
setUrlKeywords(
Sets the url keywords of the category for the language with the provided language code. |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
#
getImageAltText(
Returns the alternative text of the image in the language with the provided language code. |
public
|
#
setImageAltText(
Set the alternative text of the image for the language with the provided language code. |
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
#
deleteAddonValue(
Deletes an addon value with a given key from the KeyValueCollection. |
public
|
Properties summary
protected
boolean
|
$active
Contains if category is active or not. |
#
false
|
protected
integer
|
$parentId
Parent ID of the Category. |
#
0
|
protected
integer
|
$sortOrder
Sort order value. |
#
0
|
protected
DateTime
|
$dateAdded
Date time when the category was added. |
|
protected
DateTime
|
$lastModified
Date time when the category was modified last. |
|
protected
|
$settings
Category settings. |
|
protected
array
|
$names
Names of the category. |
#
array()
|
protected
array
|
$headingTitles
Heading Titles of the category. |
#
array()
|
protected
array
|
$descriptions
Description of the category. |
#
array()
|
protected
array
|
$metaTitles
Meta title of the category. |
#
array()
|
protected
array
|
$metaDescriptions
Meta description of the category. |
#
array()
|
protected
array
|
$metaKeywords
Meta keywords of the category. |
#
array()
|
protected
array
|
$urlKeywords
Url keywords of the category. |
#
array()
|
protected
|
$urlRewrites
URL rewrites. |
|
protected
string
|
$image
Path to an image file. |
#
''
|
protected
array
|
$altTexts
Alt texts of the image. |
#
array()
|
protected
string
|
$icon
Path to an icon file. |
#
''
|
protected
|
$addonValues
Addon values. |