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

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'locale.site.id': $item->setId( $value ); break;
				case 'locale.site.code': $item->setCode( $value ); break;
				case 'locale.site.label': $item->setLabel( $value ); break;
				case 'locale.site.status': $item->setStatus( $value ); break;
				case 'locale.site.config': $item->setConfig( (array) $value ); break;
			}
		}

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

		foreach( $entry as $name => $value )
		{
			switch( $name )
			{
				case 'locale.site.id': $item->setId( $value ); break;
				case 'locale.site.code': $item->setCode( $value ); break;
				case 'locale.site.label': $item->setLabel( $value ); break;
				case 'locale.site.status': $item->setStatus( $value ); break;
				case 'locale.site.config': $item->setConfig( (array) $value ); break;
			}
		}

		return $item;
	}
protected function _createItem ( array $ entry ) { $ item = $ this -> _manager -> createItem ( ) ; foreach ( $ entry as $ name => $ value ) { switch ( $ name ) { case 'locale.site.id' : $ item -> setId ( $ value ) ; break ; case 'locale.site.code' : $ item -> setCode ( $ value ) ; break ; case 'locale.site.label' : $ item -> setLabel ( $ value ) ; break ; case 'locale.site.status' : $ item -> setStatus ( $ value ) ; break ; case 'locale.site.config' : $ item -> setConfig ( ( array ) $ value ) ; break ; } } return $ item ; }
Creates a new locale site item and sets the properties from the given array.

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