| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function _construct() |
||
| 15 | { |
||
| 16 | $this->_controller = 'adminhtml_shipment'; |
||
| 17 | $this->_blockGroup = 'yandexdelivery'; |
||
| 18 | $this->_headerText = Mage::helper('yandexdelivery')->__('Shipment Manager'); |
||
| 19 | $this->_addButtonLabel = Mage::helper('yandexdelivery')->__('Add shipment'); |
||
| 20 | parent::_construct(); |
||
| 21 | } |
||
| 22 | |||
| 28 |
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.