FavoriteController
extends CollectionController
in package
This controller describes the behavior of favorites.
Use the controller to generate a collection of favorites.
Tags
Table of Contents
- __construct() : mixed
- getFavoriteId() : int|null
Methods
__construct()
public
__construct([mixed $parseUriParameters = false ]) :
mixed
Parameters
- $parseUriParameters : mixed = false
Tags
Return values
mixed —getFavoriteId()
public
getFavoriteId(int $productId[, int|null $variantId = null ]) :
int|null
Parameters
- $productId : int
- $variantId : int|null = null