Product360Manager
class Product360Manager implements BasicEntityManagerInterface, JQGridInterface
Class Product360Manager is injected as empire_product_360.product_360_manager service. Product360Manager handles the logic for managed entity.
Traits
Properties
| protected Product360Repository | $repository | ||
| protected Product360EventContainer | $eventContainer |
Methods
No description
No description
No description
No description
Find product 360 by primary key
Find product 360 by product primary key
Check if product has product 360
Check if user has role admin
Get current locale from request
Get product 360 array
Delete product 360
Remove images for product 360
Get product by name for
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 47
__construct(Product360Repository $repository, Product360EventContainer $eventContainer)
at line 60
mixed
findProduct360ByPk(int $id)
Find product 360 by primary key
at line 72
mixed
findProduct360ByProduct(int $id)
Find product 360 by product primary key
at line 84
mixed
does360ExistForProduct(int $id)
Check if product has product 360
at line 99
Product360|PrimaryKeyInterface
save(Product360 $product360)
Persist entity to database
at line 123
array
getProductFor360(Product $product)
Get product by product primary key
at line 137
Product360
saveProduct360(Product360 $product360)
Save product 360 entity
at line 160
mixed
hasRoleAdmin()
Check if user has role admin
at line 170
string
getCurrentLocale()
Get current locale from request
at line 187
PrimaryKeyInterface
editProduct360(Product360 $product360)
Edit product 360 entity
at line 225
mixed
getProducts360Array(array $products360)
Get product 360 array
at line 236
deleteProducts360(mixed $product360ArrayDB)
Delete product 360
at line 245
removeImages(mixed $product360ArrayDB)
Remove images for product 360
at line 266
mixed
getProductsByNameJSON(string $nameString, int $page, int $offset)
Get product by name for
at line 279
protected Product360Image
setProduct360Images(Product360Image $product360Image)
Add image to current product