Beispiel #1
0
 /**
  * Define and set widget attributes; initialize widget
  *
  * @param array $params Widget params OPTIONAL
  *
  * @return void
  */
 public function __construct(array $params = array())
 {
     $this->sortByModes += array(static::SORT_BY_MODE_ID => 'Order ID', static::SORT_BY_MODE_DATE => 'Date', static::SORT_BY_MODE_CUSTOMER => 'Customer', static::SORT_BY_MODE_STATUS => 'Status', static::SORT_BY_MODE_TOTAL => 'Amount');
     parent::__construct($params);
 }