protected function _prepareColumns() { $this->addColumn('edit_massaction', array('header' => $this->__('Selected'), 'index' => 'edit_massaction', 'type' => 'massaction', 'width' => '50px', 'align' => 'center')); $this->addColumn('symbol', array('type' => 'input', 'header' => $this->__('Symbol'), 'index' => 'symbol', 'width' => '100px', 'align' => 'left')); $this->addColumn('substitute', array('type' => 'input', 'header' => $this->__('Substitute'), 'index' => 'substitute')); return parent::_prepareColumns(); }
protected function _prepareColumns() { $this->addColumn('internal_name', array('header' => $this->__('Code'), 'index' => 'internal_name', 'width' => '200px', 'align' => 'left')); $this->addColumn('name', array('type' => 'input', 'header' => $this->__('URL Key'), 'index' => 'name')); $this->addColumn('position', array('type' => 'number_input', 'header' => $this->__('Position'), 'index' => 'position', 'width' => '100px', 'align' => 'center')); return parent::_prepareColumns(); }
protected function _prepareColumns() { $this->addColumn('status', array('header' => $this->__('Status'), 'index' => 'status', 'width' => '50px', 'align' => 'center', 'type' => 'options', 'options' => $this->getStatusSourceModel()->getOptionArray())); $this->addColumn('name', array('header' => $this->__('Name'), 'index' => 'name', 'width' => '200px', 'align' => 'left')); $this->addColumn('updated_at', array('header' => $this->__('Last Updated'), 'index' => 'updated_at', 'type' => 'datetime', 'width' => '150px')); $this->addColumn('sample', array('header' => $this->__('Sample URL'), 'index' => 'sample', 'align' => 'left')); return parent::_prepareColumns(); }
protected function _prepareColumns() { $this->addColumn('final_url_key', array('header' => $this->__('URL Key'), 'index' => 'final_url_key', 'align' => 'left', 'width' => '200px')); $this->addColumn('status', array('header' => $this->__('Status'), 'index' => 'status', 'filter_index' => 'main_table.status', 'width' => '50px', 'align' => 'center', 'type' => 'options', 'options' => $this->getStatusSourceModel()->getOptionArray())); $this->addColumn('position', array('header' => $this->__('Position'), 'index' => 'position', 'align' => 'center', 'width' => '50px')); $this->addColumn('global_id', array('header' => $this->__('Schema'), 'index' => 'global_id', 'width' => '100px', 'align' => 'center', 'type' => 'options', 'options' => $this->getSchemas())); if (!Mage::app()->isSingleStoreMode()) { $this->addColumn('store_id', array('header' => $this->__('Store'), 'index' => 'store_id', 'type' => 'store', 'store_all' => false, 'store_view' => true, 'sortable' => true, 'width' => '200px')); } $this->addColumn('final_include_filter_name', array('header' => $this->__('Include Filter Name'), 'index' => 'final_include_filter_name', 'align' => 'center', 'width' => '50px', 'type' => 'options', 'options' => $this->getYesNoSourceModel()->getOptionArray())); $this->addColumn('description', array('header' => $this->__('Description'), 'index' => 'description', 'align' => 'left')); return parent::_prepareColumns(); }