Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • Category
  • CategoryListItem
  • CategorySettings
  • EnvCategoryServiceSettings
  • StoredCategory

Class StoredCategory

Class StoredCategory

This class extends the Category class and represents a persisted category with an unique ID.

Category implements CategoryInterface
Extended by StoredCategory implements StoredCategoryInterface
Package: Category\Entities
Category: System
Located at Services/Core/Category/Entities/StoredCategory.inc.php

Methods summary

public
# __construct( IdType $categoryId, CategorySettingsInterface $settings )

Class Constructor

Class Constructor

Parameters

$categoryId
Category ID.
$settings
Category settings.

Overrides

Category::__construct
public integer
# getCategoryId( )

Gets the ID of the StoredCategory.

Gets the ID of the StoredCategory.

Returns

integer

Implementation of

StoredCategoryInterface::getCategoryId()
public integer
# getAddonValueContainerId( )

Get the addon value container ID.

Get the addon value container ID.

Returns

integer

Implementation of

AddonValueContainerInterface::getAddonValueContainerId()
public StoredCategory|StoredCategory
# setParentId( IdType $categoryId )

Sets the parent ID of the category.

Sets the parent ID of the category.

Parameters

$categoryId
The parent ID.

Returns

StoredCategory|StoredCategory
$this Same instance for chained method calls.

Throws

LogicException
When the passed id is equal to the category id.

Overrides

Category::setParentId

Implementation of

CategoryInterface::setParentId()

Methods inherited from Category

addAddonValues(), deleteAddonValue(), getAddedDateTime(), getAddonValue(), getAddonValues(), getDescription(), getHeadingTitle(), getIcon(), getImage(), getImageAltText(), getLastModifiedDateTime(), getMetaDescription(), getMetaKeywords(), getMetaTitle(), getName(), getParentId(), getSettings(), getSortOrder(), getUrlKeywords(), getUrlRewrite(), getUrlRewrites(), isActive(), setActive(), setAddedDateTime(), setAddonValue(), setDescription(), setHeadingTitle(), setIcon(), setImage(), setImageAltText(), setLastModifiedDateTime(), setMetaDescription(), setMetaKeywords(), setMetaTitle(), setName(), setSettings(), setSortOrder(), setUrlKeywords(), setUrlRewrite(), setUrlRewrites()

Properties summary

protected integer $categoryId

Category ID.

Category ID.

# 0

Properties inherited from Category

$active, $addonValues, $altTexts, $dateAdded, $descriptions, $headingTitles, $icon, $image, $lastModified, $metaDescriptions, $metaKeywords, $metaTitles, $names, $parentId, $settings, $sortOrder, $urlKeywords, $urlRewrites

API documentation generated by ApiGen