protected function getRelationshipInputs(\Illuminate\Http\Request $request, array $fields)
	{
		$inputs = array();

		//run through the edit fields to find the relationships
		foreach ($fields as $name => $field)
		{
			if ($field->getOption('external'))
			{
				$inputs[$name] = $this->formatRelationshipInput($request->get($name, NULL), $field);
			}
		}

		return $inputs;
	}
protected function getRelationshipInputs(\Illuminate\Http\Request $request, array $fields)
	{
		$inputs = array();

		//run through the edit fields to find the relationships
		foreach ($fields as $name => $field)
		{
			if ($field->getOption('external'))
			{
				$inputs[$name] = $this->formatRelationshipInput($request->get($name, NULL), $field);
			}
		}

		return $inputs;
	}
protected function getRelationshipInputs ( \ Illuminate \ Http \ Request $ request , array $ fields ) { $ inputs = array ( ) ; //run through the edit fields to find the relationships foreach ( $ fields as $ name => $ field ) { if ( $ field -> getOption ( 'external' ) ) { $ inputs [ $ name ] = $ this -> formatRelationshipInput ( $ request -> get ( $ name , NULL ) , $ field ) ; } } return $ inputs ; }
Gets the relationship inputs

@param \Illuminate\Http\Request				$request
@param array									$fields

@return array
Gets the relationship inputs