Exemplo n.º 1
0
 /**
  * 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');
 }
Exemplo n.º 2
0
 /**
  * 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');
 }