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

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'locale.id': $item->setId( $value ); break;
				case 'locale.siteid': $item->setSiteId( $value ); break;
				case 'locale.languageid': $item->setLanguageId( $value ); break;
				case 'locale.currencyid': $item->setCurrencyId( $value ); break;
				case 'locale.position': $item->setPosition( $value ); break;
				case 'locale.status': $item->setStatus( $value ); break;
			}
		}

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

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'locale.id': $item->setId( $value ); break;
				case 'locale.siteid': $item->setSiteId( $value ); break;
				case 'locale.languageid': $item->setLanguageId( $value ); break;
				case 'locale.currencyid': $item->setCurrencyId( $value ); break;
				case 'locale.position': $item->setPosition( $value ); break;
				case 'locale.status': $item->setStatus( $value ); break;
			}
		}

		return $item;
	}
protected function _createItem ( array $ entry ) { $ item = $ this -> _manager -> createItem ( ) ; foreach ( $ entry as $ name => $ value ) { switch ( $ name ) { case 'locale.id' : $ item -> setId ( $ value ) ; break ; case 'locale.siteid' : $ item -> setSiteId ( $ value ) ; break ; case 'locale.languageid' : $ item -> setLanguageId ( $ value ) ; break ; case 'locale.currencyid' : $ item -> setCurrencyId ( $ value ) ; break ; case 'locale.position' : $ item -> setPosition ( $ value ) ; break ; case 'locale.status' : $ item -> setStatus ( $ value ) ; break ; } } return $ item ; }
Creates a new locale item and sets the properties from the given array.

@param array $entry Associative list of name and value properties using the "locale" prefix
@return MShop_Locale_Item_Interface Locale item
Creates a new locale item and sets the properties from the given array .