controller/jobs/src/Controller/Jobs/Product/Import/Csv/Standard.php
protected function getCodePosition( array $mapping )
	{
		foreach( $mapping as $pos => $key )
		{
			if( $key === 'product.code' ) {
				return $pos;
			}
		}

		throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'No "product.code" column in CSV mapping found' ) );
	}
protected function getCodePosition( array $mapping )
	{
		foreach( $mapping as $pos => $key )
		{
			if( $key === 'product.code' ) {
				return $pos;
			}
		}

		throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'No "product.code" column in CSV mapping found' ) );
	}
protected function getCodePosition ( array $ mapping ) { foreach ( $ mapping as $ pos => $ key ) { if ( $ key === 'product.code' ) { return $ pos ; } } throw new \ Aimeos \ Controller \ Jobs \ Exception ( sprintf ( 'No "product.code" column in CSV mapping found' ) ) ; }
Returns the position of the "product.code" column from the product item mapping

@param array $mapping Mapping of the "item" columns with position as key and code as value
@return integer Position of the "product.code" column
@throws \Aimeos\Controller\Jobs\Exception If no mapping for "product.code" is found
Returns the position of the product . code column from the product item mapping