category
|
System
|
package
|
Slider
|
subpackage
|
Repositories
|
Methods
SlideImageRepositoryReader constructor.
__construct(\CI_DB_query_builder $db)
Arguments
$db
\CI_DB_query_builder
Query builder.
Assign the SlideImage values via the setter.
_setDbValues(\SlideImage $slideImage, array $row)
|
|
Throws |
- \InvalidArgumentException
If $row contains invalid values.
|
Arguments
Returns a SlideImage for the given SlideImage ID.
getById(\IdType $slideImageId) : \SlideImageInterface
Returns a SlideImageCollection for the given Slide ID.
getBySlideId(\IdType $slideId) : \SlideImageCollection
Throws |
- \UnexpectedValueException
if no slide image record for the provided slide ID was found.
|
Arguments
Response
\SlideImageCollection
Returns a SlideImageCollection with all existing SlideImage objects by the given slide ID and language ID.
getBySlideIdAndLanguageId(\IdType $slideId, \IdType $languageId) : \SlideImageCollection
Check if an image file is used by another slide image entry.
isSlideImageFileUsed(\FilenameStringType $filename, \IdType $slideImageId) : boolean
Arguments
Response
boolean
Properties
Table name
table : string
Query builder.
db : \CI_DB_query_builder
Type(s)
\CI_DB_query_builder