[*] FO : Added getCategory getter in ProductController #PSCFV-8408

This commit is contained in:
Damien Metzger
2013-11-21 16:01:50 +01:00
parent 6431f559d7
commit 8bdc6c9a51
+6 -7
View File
@@ -27,14 +27,8 @@
class ProductControllerCore extends FrontController
{
public $php_self = 'product';
/**
* @var Product
*/
protected $product;
/**
* @var Category
*/
protected $product;
protected $category;
public function setMedia()
@@ -668,4 +662,9 @@ class ProductControllerCore extends FrontController
{
return $this->product;
}
public function getCategory()
{
return $this->category;
}
}