friendica/src/Module
Hypolite Petovan d0648b10ef Convert Content\Nav to dynamic object
- Remove DI dependency in Module\Apps
2023-01-11 09:01:24 -05:00
..
ActivityPub Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Admin Fix warning text 2023-01-07 15:30:45 +01:00
Api Treat unsupported API call as HTTP error 2023-01-07 22:47:52 -05:00
Blocklist/Domain Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Calendar Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Contact Apply suggestions from code review 2023-01-08 23:13:31 +01:00
Conversation Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Debug Happy New Year 2023! 2023-01-01 09:36:24 -05:00
DFRN Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Diaspora Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Filer Happy New Year 2023! 2023-01-01 09:36:24 -05:00
HTTPException Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Item Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Media Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Moderation Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Notifications Happy New Year 2023! 2023-01-01 09:36:24 -05:00
OAuth Happy New Year 2023! 2023-01-01 09:36:24 -05:00
OStatus Apply suggestions from code review 2023-01-08 13:00:58 +01:00
Post Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Profile Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Search Remove dependency to DI in Search\Acl module 2023-01-01 18:47:44 -05:00
Security Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Settings Remove system.no_auto_update personal config key and assume default value of true 2023-01-05 10:27:03 -05:00
Special Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Update Remove system.no_auto_update personal config key and assume default value of true 2023-01-05 10:27:03 -05:00
User Happy New Year 2023! 2023-01-01 09:36:24 -05:00
WellKnown Remove obsolete OExchange module and reference 2023-01-01 19:20:42 -05:00
About.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
AccountManagementControlDocument.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Acctlink.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Apps.php Convert Content\Nav to dynamic object 2023-01-11 09:01:24 -05:00
Attach.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseAdmin.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseApi.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseModeration.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseNotifications.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseProfile.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseSearch.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseSettings.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Bookmarklet.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Contact.php Apply suggestions from code review 2023-01-08 23:13:31 +01:00
Credits.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Delegation.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Directory.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Feed.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
FollowConfirm.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Friendica.php Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
FriendSuggest.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Group.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hashtag.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
HCard.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Help.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Home.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Install.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Invite.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Magic.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Maintenance.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Manifest.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NodeInfo110.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NodeInfo120.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NodeInfo210.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NoScrape.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Oembed.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
OpenSearch.php Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
Owa.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
ParseUrl.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
PermissionTooltip.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Photo.php Diaspora: Photos are now transmitted separately 2023-01-07 15:11:34 +00:00
Proxy.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
PublicRSAKey.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
RandomProfile.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00
Register.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Response.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
RobotsTxt.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Smilies.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Statistics.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Theme.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
ThemeDetails.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
ToggleMobile.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Tos.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Welcome.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Xrd.php Remove dependency to the second parameter of XML::fromArray 2023-01-01 19:20:42 -05:00

Friendica\Module

The Module namespace contains the different modules of Friendica. Each module is loaded through the App.

There are mainly two types of modules:

  • frontend modules to interact with users
  • backend modules to interact with machine requests

Frontend modules

This type of modules mainly needs a template, which are generally located at view/templates/.

A frontend module should extend the BaseModule, especially the content() method.

Backend modules

This type of modules mainly responds either with encoded XML or with JSON output. It isn't intended to respond with human readable text.

A frontend module should extend the BaseModule, especially the rawContent() method.

Routing

Every module needs to be accessed within a route. The routes are defined inside Router->collectRoutes().

Use the given routes as a pattern for further routes.

The routing library and further documentation can be found here.