| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | protected function _prepareColumns() |
||
| 36 | { |
||
| 37 | $this->addColumn('increment_id', array( |
||
| 38 | 'header' => Mage::helper('yandexdelivery')->__('Order ID'), |
||
| 39 | 'align' => 'left', |
||
| 40 | 'index' => 'increment_id', |
||
| 41 | )); |
||
| 42 | |||
| 43 | $this->addColumn('yd_id', array( |
||
| 44 | 'header' => Mage::helper('yandexdelivery')->__('Yandex Delivery Id'), |
||
| 45 | 'align' => 'right', |
||
| 46 | 'width' => '30px', |
||
| 47 | 'index' => 'yd_id', |
||
| 48 | )); |
||
| 49 | |||
| 50 | return parent::_prepareColumns(); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.