Site logo file
API
Search
Phoca.cz Main Site
Phoca Cart
Phoca Cart Demo
Search
Search
Advanced Search
Projects
Joomla
Phoca Cart
Phoca Gallery
Phoca Download
Classes
AbstractAES
AbstractEvent
AbstractEvent
AbstractEvent
AbstractEvent
AbstractGroupButton
AbstractImmutableEvent
AbstractMenu
AbstractModuleDispatcher
AbstractRenderer
AbstractView
Access
Access
AccessiblemediaField
AccesslevelField
ActionButton
ActionsDropdown
Adapter
AdapterInstance
AddUserCommand
AddUserToGroupCommand
AdminController
AdministratorApplication
AdministratorMenu
AdministratorMenuItem
AdministratorRouter
AdminLanguage
AdminModel
Aes
AesInterface
AfterBindEvent
AfterCheckinEvent
AfterCheckoutEvent
AfterDeleteEvent
AfterExtensionBootEvent
AfterHitEvent
AfterLoadEvent
AfterMoveEvent
AfterPublishEvent
AfterReorderEvent
AfterResetEvent
AfterStoreEvent
AliastagField
ApcuStorage
ApiApplication
ApiController
ApiDispatcher
ApiMVCFactory
ApiRouter
ApiRouter
Application
ApplicationHelper
Argon2idHandler
Argon2iHandler
Asset
AssociationExtensionHelper
AssociationExtensionInterface
Associations
AssociationServiceInterface
AssociationServiceTrait
AtomParser
AtomRenderer
Authentication
Authentication
AuthenticationFailed
AuthenticationFailedExceptionHandler
AuthenticationHelper
AuthenticationResponse
AuthorField
Backgroundfill
Base32
BaseApplication
BaseController
BaseDatabaseModel
BaseLayout
BaseModel
BasicButton
BCryptHandler
BeforeBatchEvent
BeforeBindEvent
BeforeCheckinEvent
BeforeCheckoutEvent
BeforeDeleteEvent
BeforeExtensionBootEvent
BeforeHitEvent
BeforeLoadEvent
BeforeMoveEvent
BeforePublishEvent
BeforeReorderEvent
BeforeResetEvent
BeforeStoreEvent
Behavior
BooleanRule
BootableExtensionInterface
Bootstrap
Brightness
Browser
BufferStreamHandler
Cache
CacheConnectingException
CacheController
CacheController
CacheControllerFactory
CacheControllerFactoryInterface
CacheExceptionInterface
CachehandlerField
CacheStorage
CacheStorageHelper
CachingLanguageFactory
CalendarField
CalendarRule
CallbackController
CallbackLogger
Captcha
CaptchaField
CaptchaRule
Categories
CategoriesView
Category
Category
CategoryFactory
CategoryFactory
CategoryFactoryInterface
CategoryFeedView
CategoryField
CategoryInterface
CategoryNode
CategoryServiceInterface
CategoryServiceTrait
CategoryView
ChainedHandler
ChangeItem
Changelog
ChangeSet
ChangeUserPasswordCommand
CheckboxesField
CheckboxField
CheckEvent
CheckIfRehashNeededHandlerInterface
CheckinCheckout
CheckinCheckoutExceptionHandler
CheckJoomlaUpdatesCommand
CheckUpdatesCommand
ChromestyleField
ClassLoader
CleanCacheCommand
Cli
CliApplication
ClientHelper
CliInput
CliOutput
CliRenderer
CMSApplication
CMSApplicationInterface
CMSHelper
CMSObject
CMSPlugin
CMSWebApplicationInterface
CollectionAdapter
ColorField
ColorProcessor
ColorRule
ColorStyle
ComboField
Component
ComponentAdapter
ComponentDispatcher
ComponentDispatcherFactory
ComponentDispatcherFactory
ComponentDispatcherFactoryInterface
ComponentHelper
ComponentInterface
ComponentlayoutField
ComponentRecord
ComponentRenderer
ComponentsField
Config
ConfirmButton
Console
ConsoleApplication
ContainerAwareToolbarFactory
Content
Content
ContentHelper
ContentHistory
ContenthistoryField
ContentLanguage
ContentlanguageField
ContentType
ContenttypeField
Contrast
ControllerInterface
Cookie
CoreAssetItem
CoreButtonsTrait
CoreContent
Crypt
CryptoCipher
CssIdentifierRule
CssIdentifierSubstringRule
CurlTransport
CustomButton
DaemonApplication
Database
DatabaseAwareTrait
DatabaseconnectionField
DatabaseLogger
DatabaseModelInterface
Date
Date
Debug
DelegatingPsrLogger
DeleteUserCommand
Dispatcher
Dispatcher
DispatcherInterface
DisplayEvent
Document
Document
DocumentRenderer
DownloadSource
DraggableList
Dropdown
DropdownButton
DummyPlugin
EchoLogger
Edgedetect
Editor
EditorField
Email
EmailField
EmailRule
Emboss
EqualsRule
ErrorDocument
ErrorEvent
EventAware
EventAwareInterface
ExceptionHandler
ExistsRule
Extension
ExtensionAdapter
ExtensionDiscoverCommand
ExtensionDiscoverInstallCommand
ExtensionDiscoverListCommand
ExtensionHelper
ExtensionInstallCommand
ExtensionManagerInterface
ExtensionManagerTrait
ExtensionNamespaceMapper
ExtensionRemoveCommand
ExtensionsListCommand
Factory
Factory
FactoryInterface
FeaturedButton
Feed
FeedDocument
FeedEnclosure
FeedEntry
FeedFactory
FeedImage
FeedItem
FeedLink
FeedParser
FeedPerson
FeedRenderer
FieldsServiceInterface
File
FileAdapter
FileField
FileLayout
FilelistField
FilePathRule
Files
FileStorage
FilesystemHelper
FinderIndexCommand
Folder
FolderlistField
FolderPathExistsRule
Form
Form
Form
FormattedtextLogger
FormBehavior
FormBehaviorTrait
FormController
FormFactory
FormFactoryAwareInterface
FormFactoryAwareTrait
FormFactoryInterface
FormField
FormFilterInterface
FormHelper
FormModel
FormModelInterface
FormRule
FormValidateAssetItem
FormView
FrontendlanguageField
FtpClient
GenericDataException
GenericEvent
GetConfigurationCommand
Grayscale
Grid
GroupedlistField
HeadertagField
HeadRenderer
Help
HelpButton
HelperFactory
HelperFactory
HelperFactoryInterface
HiddenField
HtmlDocument
HTMLHelper
HTMLRegistry
HTMLRegistryAwareTrait
HtmlRenderer
HtmlView
Http
HttpBridgePostRequestMethod
HttpFactory
Icons
IdentityAware
Image
ImageDocument
ImageFilter
ImagelistField
ImmutableNodeInterface
ImmutableNodeTrait
InlinehelpButton
InMemoryLogger
Input
InputFilter
Installer
InstallerAdapter
InstallerExtension
InstallerHelper
InstallerScript
IntarrayFilter
IntegerField
InvalidActionException
InvalidParameterExceptionHandler
InvalidRouteExceptionHandler
ItemModel
ItemModelInterface
ItunesRssParser
JGrid
JoomlaSerializer
JoomlaStorage
Jquery
Json
JsonapiDocument
JsonapiRenderer
JsonApiView
JsonDocument
JsonRenderer
JsonResponse
JsonView
KeepaliveAssetItem
LangActiveAssetItem
Language
Language
Language
LanguageAdapter
LanguageFactory
LanguageFactoryInterface
LanguageField
LanguageHelper
LastvisitdaterangeField
LayoutHelper
LayoutInterface
LegacyComponent
LegacyComponentDispatcher
LegacyFactory
LegacyModelLoaderTrait
LibraryAdapter
LibraryHelper
LibraryManifest
LimitboxField
LinkButton
Links
ListField
ListHelper
ListModel
ListModelInterface
ListUserCommand
ListView
Log
LogEntry
Logger
Logger
LoggerRegistry
Mail
MailDisabledException
MailHelper
MailTemplate
Manifest
Mcrypt
MD5Handler
MediaField
MediaHelper
MediaRssParser
MemcachedStorage
Menu
Menu
Menu
MenuFactory
MenuFactoryInterface
MenuField
MenuItem
MenuitemField
MenuRules
MenuType
MessagequeueLogger
MessageRenderer
MetadataManager
MetadataManagerListener
MetasRenderer
MeterField
Microdata
MissingComponentException
ModelInterface
Module
Module
Module
ModuleAdapter
ModuleDispatcher
ModuleDispatcherFactory
ModuleDispatcherFactory
ModuleDispatcherFactoryInterface
ModuleHelper
ModuleInterface
ModulelayoutField
ModuleLayoutRule
ModuleorderField
ModulepositionField
ModuleRenderer
ModulesRenderer
ModuletagField
Multilanguage
MVCComponent
MVCFactory
MVCFactory
MVCFactoryAwareTrait
MVCFactoryInterface
MVCFactoryServiceInterface
MVCFactoryServiceTrait
MysqlChangeItem
NamespaceParserInterface
Negate
Nested
NodeInterface
NodeTrait
NomenuRules
NotAcceptable
NotAcceptableExceptionHandler
NotAllowed
NotAllowedExceptionHandler
NoteField
NotequalsRule
Number
NumberField
NumberRule
ObjectCreateEvent
OnGetApiAttributes
OnGetApiFields
OnGetApiRelation
OpensearchDocument
OpensearchImage
OpensearchUrl
OpenSSL
OptionsRule
OrderingField
OutputController
OutputFilter
PackageAdapter
PackageManifest
PageController
Pagination
PaginationObject
PasswordField
PasswordRule
Patcher
Path
Pathway
Pathway
PHPassHandler
PluginAdapter
PluginHelper
PluginInterface
PluginsField
PluginstatusField
PopupButton
PostgresqlChangeItem
PredefinedlistField
PreloadManager
PreloadManagerInterface
ProcessorInterface
Profiler
ProviderAwareAuthenticationPluginInterface
PublishedButton
PunycodeHelper
RadiobasicField
RadioField
Randval
RandValInterface
RangeField
RawDocument
RawFilter
RedirectStatusField
RedisStorage
RegistrationdaterangeField
Registry
RemoveOldFilesCommand
RemoveUserFromGroupCommand
RendererInterface
RendererInterface
ResourceNotFound
ResourceNotFoundExceptionHandler
Response
Route
RouteHelper
RouteNotFoundException
Router
RouterBase
RouterFactory
RouterFactory
RouterFactoryInterface
RouterInterface
RouterLegacy
RouterServiceInterface
RouterServiceTrait
RouterView
RouterViewConfiguration
RssParser
RssRenderer
Rule
Rules
RulesField
RulesFilter
RulesInterface
RulesRule
SafehtmlFilter
Save
SaveExceptionHandler
ScriptsRenderer
SearchTools
SectionNotFoundException
Select
SendEmail
SendEmailExceptionHandler
SeparatorButton
Session
Session
SessionFactory
SessionGcCommand
SessionhandlerField
SessionManager
SessionMetadataGcCommand
SetConfigurationCommand
SetNewTagsEvent
Sidebar
SiteApplication
SiteDownCommand
SiteMenu
SitePathway
SiteRouter
SiteUpCommand
Sketchy
Smooth
SocketTransport
SodiumCipher
SortableList
SpacerField
SqlField
SqlsrvChangeItem
StandardButton
StandardRules
StateBehaviorTrait
StatefulModelInterface
StatusField
Stdout
Stream
StreamString
StreamTransport
StringController
StringHelper
StylesRenderer
SubformField
SubformRule
SyslogLogger
Table
TableInterface
Tag
TagApiSerializerTrait
TagField
TaggableTableInterface
TaggableTableTrait
TagServiceInterface
TagServiceTrait
TagsHelper
TasksListCommand
TasksRunCommand
TasksStateCommand
Telephone
TelephoneField
TelFilter
TelRule
TemplateAdapter
TemplatestyleField
Text
TextareaField
TextField
TimeField
TimeRule
TimezoneField
Toolbar
Toolbar
ToolbarButton
ToolbarFactoryInterface
ToolbarHelper
Totp
TransitionButton
TransitionField
Transliterate
TransportInterface
Ucm
UCM
UCMBase
UCMContent
UCMType
UiTab
UnknownAssetException
UnparsableImageException
UnsatisfiedDependencyException
UnsetFilter
UnsupportedCacheException
UnsupportedStorageException
Update
Update
UpdateAdapter
UpdateCoreCommand
Updater
UpdateSite
Uri
UrlField
UrlFilter
UrlRule
User
User
User
User
UseractiveField
UserFactory
UserFactoryInterface
UserField
Usergroup
UsergrouplistField
UserGroupsHelper
UserHelper
UserIdRule
UsernameRule
UserstateField
Utility
Version
VersionableControllerTrait
VersionableModelTrait
VersionableTableInterface
Versioning
ViewController
ViewInterface
ViewLevel
W3cLogger
WebApplication
WebAssetAttachBehaviorInterface
WebAssetExceptionInterface
WebAssetItem
WebAssetItemInterface
WebAssetManager
WebAssetManagerInterface
WebAssetRegistry
WebAssetRegistry
WebAssetRegistryAssetChanged
WebAssetRegistryInterface
WincacheStorage
Workflow
WorkflowBehaviorTrait
WorkflowComponentSectionsField
WorkflowconditionField
WorkflowFunctionalityUsedEvent
WorkflowModelInterface
WorkflowPluginTrait
WorkflowServiceInterface
WorkflowServiceTrait
WorkflowStage
WorkflowstageField
WorkflowTransitionEvent
WritableContainerLoader
WritableLoaderInterface
Xml
XmlDocument
XmlRenderer
Methods
__construct
parseCheckSSL
parseInit
parseFormat
parseSefRoute
parseRawRoute
parsePaginationData
buildInit
buildComponentPreprocess
buildSefRoute
buildPaginationData
buildFormat
buildRewrite
buildBase
getComponentRouter
setComponentRouter
You are here:
Home
Joomla
SiteRouter
⇦
Back to Joomla project (class list)
Class SiteRouter - list of methods
Class to create and parse routes for the site application
Extends
Router
Package:
Joomla\CMS\Router
Copyright:
(C) 2007 Open Source Matters, Inc.
License:
GNU General Public License version 2 or later; see LICENSE.txt
Located at:
Joomla/Router/SiteRouter.php
Project:
Joomla
Method Summary
public
__construct
(\Joomla\CMS\Application\CMSApplication
$app
=
null
, \Joomla\CMS\Menu\AbstractMenu
$menu
=
null
)
Class constructor
Parameters
\Joomla\CMS\Application\CMSApplication
$app
Application Object
\Joomla\CMS\Menu\AbstractMenu
$menu
Menu object
Since
3.4
Show source code of this method:
__construct Source Code
public void
parseCheckSSL
(mixed
&$router
, mixed
&$uri
)
Force to SSL
Parameters
\Joomla\CMS\Router\Router &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parseCheckSSL Source Code
public void
parseInit
(mixed
&$router
, mixed
&$uri
)
Do some initial cleanup before parsing the URL
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parseInit Source Code
public void
parseFormat
(mixed
&$router
, mixed
&$uri
)
Parse the format of the request
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parseFormat Source Code
public void
parseSefRoute
(mixed
&$router
, mixed
&$uri
)
Convert a sef route to an internal URI
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parseSefRoute Source Code
public void
parseRawRoute
(mixed
&$router
, mixed
&$uri
)
Convert a raw route to an internal URI
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parseRawRoute Source Code
public void
parsePaginationData
(mixed
&$router
, mixed
&$uri
)
Convert limits for pagination
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
parsePaginationData Source Code
public void
buildInit
(mixed
&$router
, mixed
&$uri
)
Do some initial processing for building a URL
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildInit Source Code
public void
buildComponentPreprocess
(mixed
&$router
, mixed
&$uri
)
Run the component preprocess method
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildComponentPreprocess Source Code
public void
buildSefRoute
(mixed
&$router
, mixed
&$uri
)
Build the SEF route
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildSefRoute Source Code
public void
buildPaginationData
(mixed
&$router
, mixed
&$uri
)
Convert limits for pagination
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildPaginationData Source Code
public void
buildFormat
(mixed
&$router
, mixed
&$uri
)
Build the format of the request
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildFormat Source Code
public void
buildRewrite
(mixed
&$router
, mixed
&$uri
)
Create a uri based on a full or partial URL string
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildRewrite Source Code
public void
buildBase
(mixed
&$router
, mixed
&$uri
)
Add the basepath to the URI
Parameters
\Joomla\CMS\Router\SiteRouter &
$router
Router object
\Joomla\CMS\Uri\Uri &
$uri
URI object to process
Returns
void
Since
4.0.0
Show source code of this method:
buildBase Source Code
public \Joomla\CMS\Component\Router\RouterInterface
getComponentRouter
(mixed
$component
)
Get component router
Parameters
string
$component
Name of the component including com_ prefix
Returns
\Joomla\CMS\Component\Router\RouterInterface Component router
Since
3.3
Show source code of this method:
getComponentRouter Source Code
public bool
setComponentRouter
(mixed
$component
, mixed
$router
)
Set a router for a component
Parameters
string
$component
Component name with com_ prefix
object
$router
Component router
Returns
bool
True if the router was accepted, false if not
Since
3.3
Show source code of this method:
setComponentRouter Source Code
Properties Summary
protected
array
$componentRouters
Component-router objects
Since
3.3
protected \Joomla\CMS\Application\CMSApplication
$app
Since
3.4
protected \Joomla\CMS\Menu\AbstractMenu
$menu
Current Menu-Object
Since
3.4
Tags Summary
Since
1.5