/** * @author Damien Lasserre <*****@*****.**> * @param controller $controller */ public function __construct(controller $controller) { $this->_module = $controller->getModuleName(); $this->_controller = $controller->getControllerName(); $this->_action = $controller->getActionName(); $this->_instance = $controller; $this->layout = new \stdClass(); }