LegacyCategory
class LegacyCategory implements CategoryInterface, StandardSearchIndexerInterface (View source)
Traits
Properties
| protected | $categoryEntity | from StandardCategoryTrait | 
Methods
No description
No description
No description
Get the indexer instance that manages search indexing (if the attribute category supports indexing).
Get the name of the indexing table (return false if there's no indexing table).
Get the value of the primary key column of the indexing table that identifies the object to be indexed.
Get the definition of the indexing table, excluding attribute-related fields (return false if there's no indexing table).
Get an attribute key given its handle.
Get all the attribute keys.
Get all the generic attribute values for an object instance.
Create a new attribute key starting from the data contained in a request.
Update an existing attribute key with the data contained in a request.
Get an attribute key given its ID.
Get the generic attribute value of an object for a specific key.
No description
Details
        
                            
    getEntityManager()
        
    
    No description
        
                            
    setCategoryEntity(Category $category)
        
    
    No description
        
                            
    getCategoryEntity()
        
    
    No description
        
                            
    getSetManager()
        
    
    No description
        
                            
    addSet(mixed $handle, mixed $name, mixed|null $pkg = null, mixed|null $locked = null)
        deprecated
    
    deprecated
No description
        
                            
    getAttributeTypes()
        
    
    No description
        
                            
    associateAttributeKeyType(Type $type)
        
    
    No description
        
                            
    delete()
        
    
    No description
        
                            
    __construct(Application $application, EntityManager $entityManager)
        
    
    No description
        
                            
    getLegacyKeyClass()
        
    
    No description
        
                            SearchIndexerInterface|null
    getSearchIndexer()
        
    
    Get the indexer instance that manages search indexing (if the attribute category supports indexing).
        
                            string|false
    getIndexedSearchTable()
        
    
    Get the name of the indexing table (return false if there's no indexing table).
        
                            mixed
    getIndexedSearchPrimaryKeyValue(object $mixed)
        
    
    Get the value of the primary key column of the indexing table that identifies the object to be indexed.
        
                            array|false
    getSearchIndexFieldDefinition()
        
    
    Get the definition of the indexing table, excluding attribute-related fields (return false if there's no indexing table).
The resulting array can have these keys:
- columns: an array describing the table columns
 - primary: an array containing the names of the columns that define the table primary key
 - foreignKeys: an array describing the foreign keys.
 
        
                            AttributeKeyInterface|null
    getAttributeKeyByHandle(string $akHandle)
        
    
    Get an attribute key given its handle.
        
                            AttributeKeyInterface[]
    getList()
        
    
    Get all the attribute keys.
        
                            AttributeValueInterface[]
    getAttributeValues($mixed)
        
    
    Get all the generic attribute values for an object instance.
        
                            Key
    addFromRequest(Type $type, Request $request)
        
    
    Create a new attribute key starting from the data contained in a request.
        
                            Key
    updateFromRequest(Key $key, Request $request)
        
    
    Update an existing attribute key with the data contained in a request.
        
                            
    import(Type $type, SimpleXMLElement $element, Package $package = null)
        
    
    No description
        
                            AttributeKeyInterface|null
    getAttributeKeyByID(int $akID)
        
    
    Get an attribute key given its ID.
        
                            
    deleteKey(Key $key)
        
    
    Method called when a key is deleted. This is usually used to delete all the values associated to an attribute key.
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)
        
    
    Delete an attribute value.
        
                            AttributeValueInterface|null
    getAttributeValue(Key $key, $mixed)
        
    
    Get the generic attribute value of an object for a specific key.
        
                    protected        
    clearAttributeSet(Key $key)
        
    
    No description
        
                            
    addAttributeKey($type, $args, $pkg = false)
        
    
    No description