/** * Define columns structure * * @return array */ protected function defineColumns() { $columns = parent::defineColumns(); $processor = $this->getProcessor(); if ($processor && 'auctionInc' === $processor->getProcessorId()) { $columns['onDemand'] = array(static::COLUMN_NAME => static::t('On-demand'), static::COLUMN_CLASS => 'XLite\\View\\FormField\\Inline\\Input\\Checkbox\\Switcher\\OnOff', static::COLUMN_HEAD_HELP => 'set to \'On\' to restrict service to selected products', static::COLUMN_ORDERBY => 300); } return $columns; }