protected function _createItem( array $entry )
	{
		$item = $this->_manager->createItem();

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'product.tag.id': $item->setId( $value ); break;
				case 'product.tag.label': $item->setLabel( $value ); break;
				case 'product.tag.typeid': $item->setTypeId( $value ); break;
				case 'product.tag.languageid':
					if( $value != '' ) {
						$item->setLanguageId( $value );
					}
					break;
			}
		}

		return $item;
	}
protected function _createItem( array $entry )
	{
		$item = $this->_manager->createItem();

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'product.tag.id': $item->setId( $value ); break;
				case 'product.tag.label': $item->setLabel( $value ); break;
				case 'product.tag.typeid': $item->setTypeId( $value ); break;
				case 'product.tag.languageid':
					if( $value != '' ) {
						$item->setLanguageId( $value );
					}
					break;
			}
		}

		return $item;
	}
protected function _createItem ( array $ entry ) { $ item = $ this -> _manager -> createItem ( ) ; foreach ( $ entry as $ name => $ value ) { switch ( $ name ) { case 'product.tag.id' : $ item -> setId ( $ value ) ; break ; case 'product.tag.label' : $ item -> setLabel ( $ value ) ; break ; case 'product.tag.typeid' : $ item -> setTypeId ( $ value ) ; break ; case 'product.tag.languageid' : if ( $ value != '' ) { $ item -> setLanguageId ( $ value ) ; } break ; } } return $ item ; }
Creates a new product tag item and sets the properties from the given array.

@param array $entry Associative list of name and value properties using the "product.tag" prefix
@return MShop_Product_Item_Tag_Interface Product tag item
Creates a new product tag item and sets the properties from the given array .