public function getItem( $id, array $ref = array() )
	{
		if( ( $conf = reset( $this->_searchConfig ) ) === false ) {
			throw new MShop_Exception( sprintf( 'Address search configuration not available' ) );
		}

		return $this->_getItem( $conf['code'], $id, $ref );
	}
public function getItem( $id, array $ref = array() )
	{
		if( ( $conf = reset( $this->_searchConfig ) ) === false ) {
			throw new MShop_Exception( sprintf( 'Address search configuration not available' ) );
		}

		return $this->_getItem( $conf['code'], $id, $ref );
	}
public function getItem ( $ id , array $ ref = array ( ) ) { if ( ( $ conf = reset ( $ this -> _searchConfig ) ) === false ) { throw new MShop_Exception ( sprintf ( 'Address search configuration not available' ) ) ; } return $ this -> _getItem ( $ conf [ 'code' ] , $ id , $ ref ) ; }
Returns the common address item object specificed by its ID.

@param integer $id Unique common address ID referencing an existing address
@param array $ref List of domains to fetch list items and referenced items for
@return MShop_Common_Item_Address_Interface Returns the address item of the given id
@throws MShop_Exception If address search configuration isn't available
Returns the common address item object specificed by its ID .