public
boolean
|
#
isActive( )
Is tax of the OrderItem allowed?
Is tax of the OrderItem allowed?
Returns
boolean Value if tax of the OrderItem allowed.
|
public
CategoryInterface
|
#
setActive( BoolType $status )
Sets whether category is active or not.
Sets whether category is active or not.
Parameters
- $status
- Category active or not?
Returns
|
public
integer
|
#
getParentId( )
Returns the ID of the parent category.
Returns the ID of the parent category.
Returns
integer The ID of the parent category
|
public
CategoryInterface
|
#
setParentId( IdType $categoryId )
Sets the parent ID of the category.
Sets the parent ID of the category.
Parameters
Returns
|
public
integer
|
#
getSortOrder( )
Returns the sort order value.
Returns the sort order value.
Returns
integer Sort order value.
|
public
CategoryInterface
|
#
setSortOrder( IntType $sortOrder )
Sets the sort order to the given value.
Sets the sort order to the given value.
Parameters
- $sortOrder
- Sorting order.
Returns
|
public
DateTime
|
#
getAddedDateTime( )
Returns the date time when the category was added.
Returns the date time when the category was added.
Returns
DateTime The date time when the category was added.
|
public
CategoryInterface
|
#
setAddedDateTime( DateTime $added )
Sets the date time when the category was added.
Sets the date time when the category was added.
Parameters
- $added
- DateTime when the category has been added.
Returns
|
public
DateTime
|
#
getLastModifiedDateTime( )
Returns the date time when the category was modified last.
Returns the date time when the category was modified last.
Returns
DateTime The date time when the category was modified last.
|
public
CategoryInterface
|
#
setLastModifiedDateTime( DateTime $modified )
Sets the date time when the category was modified last.
Sets the date time when the category was modified last.
Parameters
- $modified
- DateTime when the category has been lastly modified.
Returns
|
public
CategorySettingsInterface
|
#
getSettings( )
Returns the settings of the category.
Returns the settings of the category.
Returns
|
public
CategoryInterface
|
#
setSettings( CategorySettingsInterface $categorySettings )
Sets the settings of the category.
Sets the settings of the category.
Parameters
- $categorySettings
- The settings of the category.
Returns
|
public
string
|
#
getName( LanguageCode $language )
Returns the name of the category in the language with the provided language code.
Returns the name of the category in the language with the provided language code.
Parameters
- $language
- Two letter Language code.
Returns
string Name of the category from the given language code.
|
public
CategoryInterface
|
#
setName( StringType $text, LanguageCode $language )
Sets the name of the category for the language with the provided language code.
Sets the name of the category for the language with the provided language code.
Parameters
- $text
- Name of the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getHeadingTitle( LanguageCode $language )
Returns the heading title of the category in the language with the provided language code.
Returns the heading title of the category in the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string Heading title of the category from the given language code.
|
public
CategoryInterface
|
#
setHeadingTitle( StringType $text, LanguageCode $language )
Sets the heading title of the category for the language with the provided language code.
Sets the heading title of the category for the language with the provided language code.
Parameters
- $text
- Heading title of the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getDescription( LanguageCode $language )
Returns the description of the category for the language with the provided language code.
Returns the description of the category for the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string Description of the category from the given language code.
|
public
CategoryInterface
|
#
setDescription( StringType $text, LanguageCode $language )
Sets the description of the category for the language with the provided language code.
Sets the description of the category for the language with the provided language code.
Parameters
- $text
- Description of the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getMetaTitle( LanguageCode $language )
Returns the meta title of the category for the language with the provided language code.
Returns the meta title of the category for the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string Meta title of the category from the given language code
|
public
CategoryInterface
|
#
setMetaTitle( StringType $text, LanguageCode $language )
Sets the meta title of the category for the language with the provided language code.
Sets the meta title of the category for the language with the provided language code.
Parameters
- $text
- Meta title of the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getMetaDescription( LanguageCode $language )
Returns the meta description of the category in the language with the provided language code.
Returns the meta description of the category in the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string Meta description of the category from the given language code.
|
public
CategoryInterface
|
#
setMetaDescription( StringType $text, LanguageCode $language )
Sets the meta description of the category for the language with the provided language code.
Sets the meta description of the category for the language with the provided language code.
Parameters
- $text
- Meta description of the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getMetaKeywords( LanguageCode $language )
Returns the meta keywords of the category in the language with the provided language code.
Returns the meta keywords of the category in the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string Meta keywords of the category from the given language code.
|
public
CategoryInterface
|
#
setMetaKeywords( StringType $text, LanguageCode $language )
Sets the meta keywords of the category for the language with the provided language code.
Sets the meta keywords of the category for the language with the provided language code.
Parameters
- $text
- The meta keyword for the category.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getUrlKeywords( LanguageCode $language )
Returns the url keywords of the category in the language with the provided language code.
Returns the url keywords of the category in the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string URL keywords of the category from the given language code.
|
public
CategoryInterface
|
#
setUrlKeywords( StringType $text, LanguageCode $language )
Sets the url keywords of the category for the language with the provided language code.
Sets the url keywords of the category for the language with the provided language code.
Parameters
- $text
- URL Keyword for the category.
- $language
- Two letter language code.
Returns
|
public
UrlRewrite
|
#
getUrlRewrite( LanguageCode $language )
Get URL rewrite
Returns the URL rewrite of the category, depending on the provided language code.
Parameters
- $language
- The language code of the URL rewrite to be return.
Returns
Throws
InvalidArgumentException if the language code is not valid.
|
public
UrlRewriteCollection
|
#
getUrlRewrites( )
Get URL rewrites
Returns the URL rewrites of the category.
Returns
|
public
Category
|
#
setUrlRewrite( UrlRewrite $urlRewrite, LanguageCode $language )
Set URL rewrite
Sets the URL rewrite of the category for the provided language code.
Parameters
- $urlRewrite
- The URL rewrite instance.
- $language
- The language code for the URL keywords.
Returns
Category Same instance for chained method calls.
|
public
Category
|
|
public
string
|
#
getImage( )
Returns the image filename of the category.
Returns the image filename of the category.
Returns
string The image filename of the category.
|
public
CategoryInterface
|
#
setImage( StringType $imageFile )
Sets the image filename of the category.
Sets the image filename of the category.
Parameters
- $imageFile
- Image filename.
Returns
|
public
string
|
#
getImageAltText( LanguageCode $language )
Returns the alternative text of the image in the language with the provided language code.
Returns the alternative text of the image in the language with the provided language code.
Parameters
- $language
- Two letter language code.
Returns
string The alt text of the image.
|
public
CategoryInterface
|
#
setImageAltText( StringType $text, LanguageCode $language )
Set the alternative text of the image for the language with the provided language code.
Set the alternative text of the image for the language with the provided language code.
Parameters
- $text
- Alternative text for the image.
- $language
- Two letter language code.
Returns
|
public
string
|
#
getIcon( )
Returns the icon filename of the category.
Returns the icon filename of the category.
Returns
string The icon filename of the category.
|
public
CategoryInterface
|
#
setIcon( StringType $iconFile )
Sets the icon filename of the category.
Sets the icon filename of the category.
Parameters
Returns
|
public
string
|
#
getAddonValue( StringType $key )
Returns an addon value by a given key.
Returns an addon value by a given key.
Parameters
Returns
string Addon value by a given key.
|
public
CategoryInterface
|
#
setAddonValue( StringType $key, StringType $value )
Sets an addon key and value.
Sets an addon key and value.
Parameters
- $key
- Identifier key.
- $value
- The value to be saved.
Returns
|
public
KeyValueCollection
|
#
getAddonValues( )
Returns a KeyValueCollection of addon values.
Returns a KeyValueCollection of addon values.
Returns
|
public
CategoryInterface
|
#
addAddonValues( KeyValueCollection $collection )
Adds a KeyValueCollection of addon values.
Adds a KeyValueCollection of addon values.
Parameters
- $collection
- Key value collection.
Returns
|
public
CategoryInterface
|
#
deleteAddonValue( StringType $key )
Deletes an addon value with a given key from the KeyValueCollection.
Deletes an addon value with a given key from the KeyValueCollection.
Parameters
Returns
|