ProductVideoManager
class ProductVideoManager implements JQGridInterface, BasicEntityManagerInterface
Class ProductVideoManager is injected as service. ProductVideoManager handles the logic for entity.
Traits
Trait JQGridManagerTrait
Constants
| UPLOAD_TYPE |
|
| PLAYLIST_TYPE |
|
Properties
| protected ProductVideoRepository | $repository | ||
| protected ProductVideoEventContainer | $eventContainer |
Methods
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
No description
from JQGridManagerTrait
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
No description
from JQGridManagerTrait
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
No description
from JQGridManagerTrait
__construct(ProductVideoRepository $repository, ProductVideoEventContainer $eventContainer)
No description
mixed
mixed
getProductsByNameJSON(string $nameString, int $page, int $offset)
Get data for JqGrid
mixed
deleteProductVideos(array $productVideos)
Delete multiple videos
mixed
getVideosArray(array $productVideosArray)
Get multiple videos
mixed
getVideoByProduct(int $id)
Get video for product id
mixed
getVideoByPk(int $id)
Get video by id
mixed
hasRoleAdmin()
No description
string
getCurrentLocale()
No description
setProductVideoFileForEdit(ProductVideo $productVideo, ProductVideo $dbProductVideo)
Edit video file
Details
in JQGridManagerTrait at line 26
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 40
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 53
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
at line 42
__construct(ProductVideoRepository $repository, ProductVideoEventContainer $eventContainer)
at line 56
PrimaryKeyInterface
saveProductVideo(ProductVideo $video)
Save entity
at line 86
PrimaryKeyInterface
editProductVideo(ProductVideo $video)
Merge entity
at line 128
mixed
getProductForVideo(ProductVideo $video)
at line 141
mixed
getProductsByNameJSON(string $nameString, int $page, int $offset)
Get data for JqGrid
at line 152
mixed
deleteProductVideos(array $productVideos)
Delete multiple videos
at line 165
mixed
getVideosArray(array $productVideosArray)
Get multiple videos
at line 176
mixed
getVideoByProduct(int $id)
Get video for product id
at line 187
mixed
getVideoByPk(int $id)
Get video by id
at line 195
mixed
hasRoleAdmin()
at line 203
string
getCurrentLocale()
at line 214
protected ProductVideo
setProductVideoFile(ProductVideo $productVideo)
Save video
at line 231
protected ProductVideo
setProductVideoFileForEdit(ProductVideo $productVideo, ProductVideo $dbProductVideo)
Edit video file