src/Net/XMPP/JID.php
public function set( $domain, $node = NULL, $resource = NULL ){
		if( !strlen( trim( $domain ) ) )
			throw new InvalidArgumentException( 'Domain is missing' );
		$this->domain	= $domain;
		$this->node		= $node;
		$this->resource	= $resource;
	}
public function set( $domain, $node = NULL, $resource = NULL ){
		if( !strlen( trim( $domain ) ) )
			throw new InvalidArgumentException( 'Domain is missing' );
		$this->domain	= $domain;
		$this->node		= $node;
		$this->resource	= $resource;
	}
public function set ( $ domain , $ node = NULL , $ resource = NULL ) { if ( ! strlen ( trim ( $ domain ) ) ) throw new InvalidArgumentException ( 'Domain is missing' ) ; $ this -> domain = $ domain ; $ this -> node = $ node ; $ this -> resource = $ resource ; }
Sets JID by parts.
@access		public
@param		string		$domain		Domain name of XMPP server
@param		string		$node		Name of node on XMPP server
@param		string		$resource	Name of client resource
@return		void
Sets JID by parts .