Пример #1
0
 /**
  * Check - has specified column attention or not
  *
  * @param array                $column Column
  * @param \XLite\Model\AEntity $entity Model OPTIONAL
  *
  * @return boolean
  */
 protected function hasColumnAttention(array $column, \XLite\Model\AEntity $entity = null)
 {
     return parent::hasColumnAttention($column, $entity) || 'qty' == $column[static::COLUMN_CODE] && $entity && $entity->getInventory()->isLowLimitReached();
 }