Interface CategoryInterface
Interface CategoryInterface
Direct known implementers
Indirect known implementers
Category: System
Located at Services/Core/Category/Entities/Interfaces/CategoryInterface.inc.php
Methods summary
public
setSortOrder( IntType $sortOrder )
: CategoryInterface
Sets the sort order to the given value.
public
setAddedDateTime( DateTime $added )
: CategoryInterface
Sets the date time when the category was added.
public
getLastModifiedDateTime( void )
: DateTime
Returns the date time when the category was modified last.
public
setLastModifiedDateTime( DateTime $modified )
: CategoryInterface
Sets the date time when the category was modified last.
public
setSettings( CategorySettingsInterface $categorySettings )
: CategoryInterface
Sets the settings of the category.
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 )
: CategoryInterface
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 )
: CategoryInterface
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 for the language with the provided language code.
public
setDescription( StringType $text, LanguageCode $language )
: CategoryInterface
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 for the language with the provided language code.
public
setMetaTitle( StringType $text, LanguageCode $language )
: CategoryInterface
Sets the meta title of the category for the language with the provided language code.
public
getMetaDescription( LanguageCode $language )
: string
Returns the meta description of the category in the language with the provided language code.
public
setMetaDescription( StringType $text, LanguageCode $language )
: CategoryInterface
Sets the meta description 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 )
: CategoryInterface
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 )
: CategoryInterface
Sets the url keywords of the category for the language with the provided language code.
public
setImage( StringType $imageFile )
: CategoryInterface
Sets the image filename of the category.
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 )
: CategoryInterface
Set the alternative text of the image for the language with the provided language code.
public
setAddonValue( StringType $key, StringType $value )
: CategoryInterface
Sets an addon key and value.
public
addAddonValues( KeyValueCollection $collection )
: CategoryInterface
Adds a KeyValueCollection of addon values.
public
deleteAddonValue( StringType $key )
: CategoryInterface
Deletes an addon value with a given key from the KeyValueCollection.