english/libraries/joomla/application/router.php
/**
	 * Encode route segments
	 *
	 * @param   array    An array of route segments
	 *
	 * @return  array    Array of encoded route segments
	 * @since   11.1
	 */
Encode route segments
@param   array    An array of route segments

@return  array    Array of encoded route segments
@since   11.1
Encode route segments @param array An array of route segments @return array Array of encoded route segments @since 11 . 1
protected function _encodeSegments($segments)
	{
		$total = count($segments);
		for ($i=0; $i<$total; $i++) {
			$segments[$i] = str_replace(':', '-', $segments[$i]);
		}
		return $segments;
	}
protected function _encodeSegments ( $ segments ) { $ total = count ( $ segments ) ; for ( $ i = 0 ; $ i < $ total ; $ i ++ ) { $ segments [ $ i ] = str_replace ( ':' , '-' , $ segments [ $ i ] ) ; } return $ segments ; }
Encode route segments
 @param   array    An array of route segments
Encode route segments @param array An array of route segments