Exemple #1
0
 /**
  * Define list columns
  *
  * @return array
  */
 protected function defineColumns()
 {
     $result = parent::defineColumns();
     foreach ($result as $k => $v) {
         if (isset($v[static::COLUMN_SORT])) {
             unset($result[$k][static::COLUMN_SORT]);
         }
     }
     return $result;
 }
Exemple #2
0
 /**
  * Define columns structure
  *
  * @return array
  */
 protected function defineColumns()
 {
     $columns = parent::defineColumns();
     $columns['fraud_status_xpc'] = array(static::COLUMN_NAME => '', static::COLUMN_SORT => static::SORT_BY_MODE_FRAUD, static::COLUMN_LINK => 'order', static::COLUMN_TEMPLATE => 'modules/CDev/XPaymentsConnector/order/fraud_status/status.tpl', static::COLUMN_ORDERBY => 350);
     return $columns;
 }