Showing 262 of 262 total issues
The method _prepareCollection is not named in camelCase. Open
Open
protected function _prepareCollection()
{
$collection = Mage::getModel('yandexdelivery/shipment')->getCollection();
$collection->getSelect()->join(
array('table_alias' => Mage::getConfig()->getTablePrefix() . 'sales_flat_order'),
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _construct is not named in camelCase. Open
Open
public function _construct()
{
$this->_controller = 'adminhtml_shipment';
$this->_blockGroup = 'yandexdelivery';
$this->_headerText = Mage::helper('yandexdelivery')->__('Shipment Manager');
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}