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
setAddedDateTime( DateTime $added )
: Category
Sets the datetime when the category was added.
public
getLastModifiedDateTime( void )
: DateTime
Returns the datetime when the category was modified last.
public
setLastModifiedDateTime( DateTime $modified )
: Category
Sets the date time when the category was modified last.
public
getName( LanguageCode $language )
: string
Returns the name of the category in the language with the provided language code.
public
setName( StringType $text, LanguageCode $language )
: Category
Sets the name of the category for the language with the provided language code.
public
getHeadingTitle( LanguageCode $language )
: string
Returns the heading title of the category in the language with the provided language code.
public
setHeadingTitle( StringType $text, LanguageCode $language )
: Category
Sets the heading title of the category for the language with the provided language code.
public
getDescription( LanguageCode $language )
: string
Returns the description of the category in the language with the provided language code.
public
setDescription( StringType $text, LanguageCode $language )
: Category
Sets the description of the category for the language with the provided language code.
public
getMetaTitle( LanguageCode $language )
: string
Returns the meta title of the category in the language with the provided language code.
public
setMetaTitle( StringType $text, LanguageCode $language )
: Category
Sets the meta title of the category for the language with the provided language code.
public
getMetaDescription( LanguageCode $language )
: string
Returns the meta title of the category in the language with the provided language code.
public
setMetaDescription( StringType $text, LanguageCode $language )
: Category
Sets the meta title of the category for the language with the provided language code.
public
getMetaKeywords( LanguageCode $language )
: string
Returns the meta keywords of the category in the language with the provided language code.
public
setMetaKeywords( StringType $text, LanguageCode $language )
: Category
Sets the meta keywords of the category for the language with the provided language code.
public
getUrlKeywords( LanguageCode $language )
: string
Returns the url keywords of the category in the language with the provided language code.
public
setUrlKeywords( StringType $text, LanguageCode $language )
: Category
Sets the url keywords of the category for the language with the provided language code.
public
getImageAltText( LanguageCode $language )
: string
Returns the alternative text of the image in the language with the provided language code.
public
setImageAltText( StringType $text, LanguageCode $language )
: Category
Set the alternative text of the image for the language with the provided language code.
public
addAddonValues( KeyValueCollection $collection )
: Category
Adds a KeyValueCollection of addon values.
public
deleteAddonValue( StringType $key )
: Category
Deletes an addon value with a given key from the KeyValueCollection.