/** * Define widget parameters * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams[self::PARAM_TITLE]->setValue(static::t('Statistics')); $this->widgetParams[self::PARAM_TARGET]->setValue('orders_stats'); }
/** * Define widget parameters * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams[self::PARAM_TITLE]->setValue(static::t('Recent orders')); $this->widgetParams[self::PARAM_TARGET]->setValue('recent_orders'); }