class LegacyCategory implements CategoryInterface, StandardSearchIndexerInterface (View source)

Traits

Properties

protected $categoryEntity from  StandardCategoryTrait

Methods

getEntityManager()

No description

setCategoryEntity(Category $category)

No description

getCategoryEntity()

No description

getSetManager()

No description

addSet($handle, $name, $pkg = null, $locked = null) deprecated

No description

getAttributeTypes()

No description

delete()

No description

__construct(Application $application, EntityManager $entityManager)

No description

getLegacyKeyClass()

No description

getIndexedSearchTable()

No description

getIndexedSearchPrimaryKeyValue($mixed)

No description

getAttributeKeyByHandle($akHandle)

No description

getList()

No description

getAttributeValues($mixed)

No description

addFromRequest(Type $type, Request $request)

No description

updateFromRequest(Key $key, Request $request)

No description

import(Type $type, SimpleXMLElement $element, Package $package = null)

No description

getAttributeKeyByID($akID)

No description

mixed
deleteKey(Key $key)

Run when a key is deleted. Note this does NOT delete the source key entity. That is done simply by removing the key through Doctrine. Doctrine then calls the Concrete\Core\Attribute\Key\Listener::preRemove method, which runs this.

deleteValue(AttributeValueInterface $value)

No description

getAttributeValue(Key $key, $mixed)

No description

clearAttributeSet(Key $key)

No description

addAttributeKey($type, $args, $pkg = false)

No description

Details

getEntityManager()

No description

setCategoryEntity(Category $category)

No description

Parameters

Category $category

getCategoryEntity()

No description

getSetManager()

No description

addSet($handle, $name, $pkg = null, $locked = null) deprecated

deprecated

No description

Parameters

$handle
$name
$pkg
$locked

getAttributeTypes()

No description

associateAttributeKeyType(Type $type)

No description

Parameters

Type $type

delete()

No description

__construct(Application $application, EntityManager $entityManager)

No description

Parameters

Application $application
EntityManager $entityManager

getLegacyKeyClass()

No description

SearchIndexerInterface|null getSearchIndexer()

No description

Return Value

SearchIndexerInterface|null

getIndexedSearchTable()

No description

getIndexedSearchPrimaryKeyValue($mixed)

No description

Parameters

$mixed

getSearchIndexFieldDefinition()

No description

getAttributeKeyByHandle($akHandle)

No description

Parameters

$akHandle

getList()

No description

getAttributeValues($mixed)

No description

Parameters

$mixed

addFromRequest(Type $type, Request $request)

No description

Parameters

Type $type
Request $request

updateFromRequest(Key $key, Request $request)

No description

Parameters

Key $key
Request $request

import(Type $type, SimpleXMLElement $element, Package $package = null)

No description

Parameters

Type $type
SimpleXMLElement $element
Package $package

getAttributeKeyByID($akID)

No description

Parameters

$akID

mixed deleteKey(Key $key)

Run when a key is deleted. Note this does NOT delete the source key entity. That is done simply by removing the key through Doctrine. Doctrine then calls the Concrete\Core\Attribute\Key\Listener::preRemove method, which runs this.

Parameters

Key $key

Return Value

mixed

deleteValue(AttributeValueInterface $value)

No description

Parameters

AttributeValueInterface $value

getAttributeValue(Key $key, $mixed)

No description

Parameters

Key $key
$mixed

protected clearAttributeSet(Key $key)

No description

Parameters

Key $key

addAttributeKey($type, $args, $pkg = false)

No description

Parameters

$type
$args
$pkg