public function copyFrom( MShop_Attribute_Item_Interface $item )
	{
		$this->setAttributeId( $item->getId() );
		$this->setName( $item->getName() );
		$this->setCode( $item->getType() );
		$this->setValue( $item->getCode() );

		$this->setModified();
	}
public function copyFrom( MShop_Attribute_Item_Interface $item )
	{
		$this->setAttributeId( $item->getId() );
		$this->setName( $item->getName() );
		$this->setCode( $item->getType() );
		$this->setValue( $item->getCode() );

		$this->setModified();
	}
public function copyFrom ( MShop_Attribute_Item_Interface $ item ) { $ this -> setAttributeId ( $ item -> getId ( ) ) ; $ this -> setName ( $ item -> getName ( ) ) ; $ this -> setCode ( $ item -> getType ( ) ) ; $ this -> setValue ( $ item -> getCode ( ) ) ; $ this -> setModified ( ) ; }
Copys all data from a given attribute item.

@param MShop_Attribute_Item_Interface $item Attribute item to copy from
Copys all data from a given attribute item .