Property | Type | Description | |
---|---|---|---|
$averageRating | float | ||
$channels | Sylius\Component\Core\Model\ChannelInterface[] | Doctrine\Common\Collections\Collection | ||
$images | Doctrine\Common\Collections\Collection | Sylius\Component\Core\Model\ImageInterface[] | ||
$mainTaxon | Sylius\Component\Taxonomy\Model\TaxonInterface | ||
$productTaxons | Doctrine\Common\Collections\Collection | Sylius\Component\Core\Model\ProductTaxonInterface[] | ||
$reviews | Doctrine\Common\Collections\Collection | Sylius\Component\Review\Model\ReviewInterface[] | ||
$variantSelectionMethod | string |
Method | Description | |
---|---|---|
__construct ( ) | ||
addChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
addImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
addProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
addReview ( Sylius\Component\Review\Model\ReviewInterface $review ) | ||
filterProductTaxonsByTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
getAcceptedReviews ( ) | ||
getAverageRating ( ) | ||
getChannels ( ) | ||
getImageByCode ( $code ) | ||
getImages ( ) | ||
getMainTaxon ( ) | ||
getProductTaxons ( ) | ||
getReviews ( ) | ||
getShortDescription ( ) | ||
getVariantSelectionMethod ( ) | ||
getVariantSelectionMethodLabel ( ) | ||
getVariantSelectionMethodLabels ( ) | ||
hasChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
hasImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
hasImages ( ) | ||
hasProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
isVariantSelectionMethodChoice ( ) | ||
removeChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
removeImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
removeProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
removeReview ( Sylius\Component\Review\Model\ReviewInterface $review ) | ||
setAverageRating ( $averageRating ) | ||
setMainTaxon ( Sylius\Component\Core\Model\TaxonInterface $mainTaxon = null ) | ||
setShortDescription ( $shortDescription ) | ||
setVariantSelectionMethod ( $variantSelectionMethod ) |
Method | Description | |
---|---|---|
createTranslation ( ) |
public addChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
$channel | Sylius\Component\Channel\Model\ChannelInterface |
public addImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
$image | Sylius\Component\Core\Model\ImageInterface |
public addProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
$productTaxon | Sylius\Component\Core\Model\ProductTaxonInterface |
public addReview ( Sylius\Component\Review\Model\ReviewInterface $review ) | ||
$review | Sylius\Component\Review\Model\ReviewInterface |
public filterProductTaxonsByTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon ) | ||
$taxon | Sylius\Component\Core\Model\TaxonInterface |
public static getVariantSelectionMethodLabels ( ) |
public hasChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
$channel | Sylius\Component\Channel\Model\ChannelInterface |
public hasImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
$image | Sylius\Component\Core\Model\ImageInterface |
public hasProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
$productTaxon | Sylius\Component\Core\Model\ProductTaxonInterface |
public removeChannel ( Sylius\Component\Channel\Model\ChannelInterface $channel ) | ||
$channel | Sylius\Component\Channel\Model\ChannelInterface |
public removeImage ( Sylius\Component\Core\Model\ImageInterface $image ) | ||
$image | Sylius\Component\Core\Model\ImageInterface |
public removeProductTaxon ( Sylius\Component\Core\Model\ProductTaxonInterface $productTaxon ) | ||
$productTaxon | Sylius\Component\Core\Model\ProductTaxonInterface |
public removeReview ( Sylius\Component\Review\Model\ReviewInterface $review ) | ||
$review | Sylius\Component\Review\Model\ReviewInterface |
public setMainTaxon ( Sylius\Component\Core\Model\TaxonInterface $mainTaxon = null ) | ||
$mainTaxon | Sylius\Component\Core\Model\TaxonInterface |
public setVariantSelectionMethod ( $variantSelectionMethod ) |
protected ChannelInterface[],Sylius\Component\Core\Model|Collection,Doctrine\Common\Collections $channels | ||
return | Sylius\Component\Core\Model\ChannelInterface[] | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections|ImageInterface[],Sylius\Component\Core\Model $images | ||
return | Doctrine\Common\Collections\Collection | Sylius\Component\Core\Model\ImageInterface[] |
protected TaxonInterface,Sylius\Component\Taxonomy\Model $mainTaxon | ||
return | Sylius\Component\Taxonomy\Model\TaxonInterface |
protected Collection,Doctrine\Common\Collections|ProductTaxonInterface[],Sylius\Component\Core\Model $productTaxons | ||
return | Doctrine\Common\Collections\Collection | Sylius\Component\Core\Model\ProductTaxonInterface[] |
protected Collection,Doctrine\Common\Collections|ReviewInterface[],Sylius\Component\Review\Model $reviews | ||
return | Doctrine\Common\Collections\Collection | Sylius\Component\Review\Model\ReviewInterface[] |
protected string $variantSelectionMethod | ||
return | string |