[+] FO : add getManufacturer() to ManufacturerControllerCore

Add getManufacturer() to ManufacturerControllerCore to access the protected manufacturer instance of the controller.
This commit is contained in:
gr4devel
2013-08-29 21:48:32 +02:00
parent e6abe1c5a0
commit b72f2a7176

View File

@@ -134,4 +134,12 @@ class ManufacturerControllerCore extends FrontController
else
$this->context->smarty->assign('nbManufacturers', 0);
}
}
/**
* Get instance of current manufacturer
*/
public function getManufacturer()
{
return $this->manufacturer;
}
}