src/Net/HTTP/Request/Receiver.php
public function getAllFromSource( $source, $strict = FALSE )
	{
		$source	= strtolower( $source );
		if( isset( $this->sources[$source] ) )
			return new ADT_List_Dictionary( $this->sources[$source] );
		if( !$strict )
			return array();
		throw new InvalidArgumentException( 'Invalid source "'.$source.'"' );
	}
public function getAllFromSource( $source, $strict = FALSE )
	{
		$source	= strtolower( $source );
		if( isset( $this->sources[$source] ) )
			return new ADT_List_Dictionary( $this->sources[$source] );
		if( !$strict )
			return array();
		throw new InvalidArgumentException( 'Invalid source "'.$source.'"' );
	}
public function getAllFromSource ( $ source , $ strict = FALSE ) { $ source = strtolower ( $ source ) ; if ( isset ( $ this -> sources [ $ source ] ) ) return new ADT_List_Dictionary ( $ this -> sources [ $ source ] ) ; if ( ! $ strict ) return array ( ) ; throw new InvalidArgumentException ( 'Invalid source "' . $ source . '"' ) ; }
Reads and returns Data from Sources.
@access		public
@param		string		$source		Source key (not case sensitive) (get,post,files[,session,cookie])
@param		bool		$strict		Flag: throw exception if not set, otherwise return NULL
@throws		InvalidArgumentException if key is not set in source and strict is on
@return		array		Pairs in source (or empty array if not set on strict is off)
Reads and returns Data from Sources .