Class SliderAssignmentRepository
Class SliderAssignmentRepository
- SliderAssignmentRepository implements SliderAssignmentRepositoryInterface
Package: Slider\Repositories
Category: System
Located at Services/Core/Slider/Repositories/SliderAssignmentRepository.inc.php
Category: System
Located at Services/Core/Slider/Repositories/SliderAssignmentRepository.inc.php
Methods summary
public
|
|
public
integer|null
|
#
findAssignedSliderIdForEntityTypeAndEntityId(
Get the Slider ID for the provided entity type (category, content, product) and entity ID. |
public
|
#
store(
Inserts a slider assignment into the database. |
public
|
|
public
|
#
deleteByEntityTypeAndEntityId(
Deletes a slider assignment by the given entity type and entity ID. |
protected
|
#
_validateEntityType(
Validates the given entity type. Valid types are: category, content, product. |