/**
  * Constructor
  */
 function __construct($widget_id = '', $args = array())
 {
     if ($widget_id == '') {
         $widget_id = 'dailyloses';
     }
     parent::__construct($widget_id, $args);
     $this->dates = mycred_get_stat_dates('x_dates', $this->args['span']);
 }
 /**
  * Constructor
  */
 function __construct($widget_id = '', $args = array())
 {
     if ($widget_id == '') {
         $widget_id = 'circulation';
     }
     parent::__construct($widget_id, $args);
     $this->dates = mycred_get_stat_dates('today_this');
 }