[+] FO : add getManufacturer() to ManufacturerControllerCore
Add getManufacturer() to ManufacturerControllerCore to access the protected manufacturer instance of the controller.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user