src/Net/XMPP/JID.php
static public function disassemble( $jid ){
		if( !self::isValid( $jid ) )
			throw new InvalidArgumentException( 'Given JID is not valid.' );
		$matches	= array();
		preg_match_all( self::$regexJid, $jid, $matches );
		return array(
			'domain'	=> $matches[2][0],
			'node'		=> $matches[1][0],
			'resource'	=> $matches[3][0]
		);
	}
static public function disassemble( $jid ){
		if( !self::isValid( $jid ) )
			throw new InvalidArgumentException( 'Given JID is not valid.' );
		$matches	= array();
		preg_match_all( self::$regexJid, $jid, $matches );
		return array(
			'domain'	=> $matches[2][0],
			'node'		=> $matches[1][0],
			'resource'	=> $matches[3][0]
		);
	}
static public function disassemble ( $ jid ) { if ( ! self :: isValid ( $ jid ) ) throw new InvalidArgumentException ( 'Given JID is not valid.' ) ; $ matches = array ( ) ; preg_match_all ( self :: $ regexJid , $ jid , $ matches ) ; return array ( 'domain' => $ matches [ 2 ] [ 0 ] , 'node' => $ matches [ 1 ] [ 0 ] , 'resource' => $ matches [ 3 ] [ 0 ] ) ; }
Spilts JID into parts.
@static
@access		public
@return		array
Spilts JID into parts .