Class JRouterSite
	
	
Class to create and parse routes for the site application
	 
	
		- 
			JRouter
			
			
			
		
- 
			 JRouterSite JRouterSite
Methods summary
		
		
			| 
				 public 
				
				
				 | 
			#
			__construct( array $options = array(), JApplicationCms$app = null,JMenu$menu = null )
				
Class constructor Parameters
						$optionsarray- $options Array of options$app- $app JApplicationCms ObjectJApplicationCms$menu- $menu JMenu objectJMenuSince
							3.4
 Overrides | 
		
			| 
				 public 
				array
				
				 | 
			#
			parse( JUri& $uri )
				
Function to convert a route to an internal URI 
				
Function to convert a route to an internal URI Parameters
						$uri- &$uri The uri.JUriReturns
						array
 Since
							1.5
 Overrides | 
		
			| 
				 public 
				string
				
				 | 
			#
			build( string $url )
				
Function to convert an internal URI to a route 
				
Function to convert an internal URI to a route Parameters
						$urlstring- $url The internal URLReturns
						string- The absolute search engine friendly URL
 Since
							1.5
 Overrides | 
		
			| 
				 protected 
				array
				
				 | 
			#
			parseRawRoute( JUri& $uri )
				
Function to convert a raw route to an internal URI 
				
Function to convert a raw route to an internal URI Deprecated
							4.0 Attach your logic as rule to the main parse stage
 Parameters
						$uri- &$uri The raw routeJUriReturns
						array
 Since
							3.2
 Overrides | 
		
			| 
				 protected 
				string
				
				 | 
			#
			parseSefRoute( JUri& $uri )
				
Function to convert a sef route to an internal URI 
				
Function to convert a sef route to an internal URI Deprecated
							4.0 Attach your logic as rule to the main parse stage
 Parameters
						$uri- &$uri The sef URIJUriReturns
						string- Internal URI
 Since
							3.2
 Overrides | 
		
			| 
				 protected 
				string
				
				 | 
			#
			buildRawRoute( JUri& $uri )
				
Function to build a raw route 
				
Function to build a raw route Deprecated
							4.0 Attach your logic as rule to the main build stage
 Parameters
						$uri- &$uri The internal URLJUriReturns
						string- Raw Route
 Since
							3.2
 Overrides | 
		
			| 
				 protected 
				
				
				 | 
			#
			_buildSefRoute( JUri& $uri )
				
Function to build a sef route 
				
Function to build a sef route Deprecated
							4.0 Attach your logic as rule to the main build stage
 Parameters
						$uri- &$uri The internal URLJUriSince
							1.5
 CodeCoverageIgnore
					 Overrides | 
		
			| 
				 protected 
				
				
				 | 
			#
			buildSefRoute( JUri& $uri )
				
Function to build a sef route 
				
Function to build a sef route Deprecated
							4.0 Attach your logic as rule to the main build stage
 Parameters
						$uri- &$uri The uriJUriSince
							3.2
 Overrides | 
		
			| 
				 protected 
				array
				
				 | 
			#
			processParseRules( JUri& $uri, string $stage =JRouter::PROCESS_DURING)
				
Process the parsed router variables based on custom defined rules 
				
Process the parsed router variables based on custom defined rules Parameters
						$uri- &$uri The URI to parseJUri$stagestring- $stage The stage that should be processed. Possible values: 'preprocess',
'postprocess' and '' for the main parse stageReturns
						array- The array of processed URI variables
 Since
							3.2
 Overrides | 
		
			| 
				 protected 
				
				
				 | 
			#
			processBuildRules( JUri& $uri, string $stage =JRouter::PROCESS_DURING)
				
Process the build uri query data based on custom defined rules 
				
Process the build uri query data based on custom defined rules Deprecated
							4.0 The special logic should be implemented as rule
 Parameters
						$uri- &$uri The URIJUri$stagestring- $stage The stage that should be processed. Possible values: 'preprocess',
'postprocess' and '' for the main build stageSince
							3.2
 Overrides | 
		
			| 
				 protected 
				JUri | 
			#
			createUri( string $url )
				
Create a uri based on a full or partial URL string 
				
Create a uri based on a full or partial URL string Parameters
						$urlstring- $url The URIReturnsSince
							3.2
 Overrides | 
		
			| 
				 public 
				JComponentRouterInterface | 
			#
			getComponentRouter( string $component )
				
Get component router Parameters
						$componentstring- $component Name of the component including com_ prefixReturnsSince
							3.3
 | 
		
			| 
				 public 
				boolean
				
				 | 
			#
			setComponentRouter( string $component, object $router )
				
Set a router for a component 
				
Set a router for a component Parameters
						$componentstring- $component Component name with com_ prefix$routerobject- $router Component routerReturns
						boolean- True if the router was accepted, false if not
 Since
							3.3
 | 
		
		Methods inherited from JRouter
		
			_buildRawRoute(), 
			_createUri(), 
			_decodeSegments(), 
			_encodeSegments(), 
			_parseRawRoute(), 
			_parseSefRoute(), 
			_processBuildRules(), 
			_processParseRules(), 
			attachBuildRule(), 
			attachParseRule(), 
			decodeSegments(), 
			encodeSegments(), 
			getInstance(), 
			getMode(), 
			getVar(), 
			getVars(), 
			setMode(), 
			setVar(), 
			setVars()
		
		Magic methods summary
		Constants summary
		Constants inherited from JRouter
		
			PROCESS_AFTER, 
			PROCESS_BEFORE, 
			PROCESS_DURING
		
		Properties summary
		
		Properties inherited from JRouter
		
			$_mode, 
			$_rules, 
			$_vars, 
			$cache, 
			$instances, 
			$mode, 
			$rules, 
			$vars