/** * @param RedBean_OODBBean $rowBean */ public function analyzeByRow(RedBean_OODBBean $rowBean) { $resolvedAcceptableValues = ArrayUtil::resolveArrayToLowerCase(static::getAcceptableValues()); if (!in_array(strtolower($rowBean->{$this->columnName}), $resolvedAcceptableValues)) { $label = Zurmo::t('ImportModule', '{attributeLabel} specified is invalid and this row will be skipped during import.', array('{attributeLabel}' => ProductTemplate::getAnAttributeLabel('sellPriceFormula'))); $this->shouldSkipRow = true; $this->analysisMessages[] = $label; } }