function __construct($config = array()) { parent::__construct($config); if (empty($this->helpers)) { $this->helpers = array(); } Tienda::load("TiendaHelperProduct", 'helpers.product'); $this->helpers['product'] = new TiendaHelperProduct(); }