Example #1
0
 /**
  *	Returns brand name or parses and returns brand name from barcode description
  *
  *	@param		RM_Barcode_Object		obBarcode
  *	@return		string
  **/
 protected function _getBrandName(RM_Barcode_Object $obBarcode)
 {
     if (isNull($obBarcode->getBrand())) {
         return $this->parseBrand($obBarcode);
     }
     return $obBarcode->getBrand()->name;
 }