src/Net/XMPP/MessageSender.php
public function setReceiver( $receiver )
	{
		if( is_string( $receiver ) )
			$receiver	= new Net_XMPP_JID( $receiver );
		$this->receiver	= $receiver;
	}
public function setReceiver( $receiver )
	{
		if( is_string( $receiver ) )
			$receiver	= new Net_XMPP_JID( $receiver );
		$this->receiver	= $receiver;
	}
public function setReceiver ( $ receiver ) { if ( is_string ( $ receiver ) ) $ receiver = new Net_XMPP_JID ( $ receiver ) ; $ this -> receiver = $ receiver ; }
Sets Receiver by its JID.
@access		public
@param		string		$receiver		JID of Receiver
@return		void
Sets Receiver by its JID .