1
0
Fork 0
friendica_2020-09-1_sharedH.../src/Module
2023-07-26 10:20:14 +02:00
..
ActivityPub Centralize Vary header declaration in ActivityPub::isRequest 2023-07-08 22:24:01 -04:00
Admin
Api Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
Blocklist/Domain
Calendar
Contact
Conversation Decouple conversation creation from rendering 2023-07-08 16:57:52 -04:00
Debug Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
DFRN
Diaspora
Filer
HTTPException
Item Merge pull request #13264 from MrPetovan/task/hide-blocklist 2023-07-09 21:26:59 +02:00
Media
Moderation Merge remote-tracking branch 'upstream/develop' into more-privacy 2023-07-16 09:41:55 +00:00
Notifications Removed unneeded parameter 2023-07-16 16:48:24 +00:00
OAuth
OStatus
Post
Profile Merge pull request #13264 from MrPetovan/task/hide-blocklist 2023-07-09 21:26:59 +02:00
Search Decouple conversation creation from rendering 2023-07-08 16:57:52 -04:00
Security
Settings
Special Fix exception module not setting the HTTP response code 2023-07-09 22:45:46 -04:00
Update Decouple conversation creation from rendering 2023-07-08 16:57:52 -04:00
User
WellKnown
About.php
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php
BaseAdmin.php
BaseApi.php
BaseModeration.php
BaseNotifications.php
BaseProfile.php
BaseSearch.php
BaseSettings.php
Bookmarklet.php
Circle.php
Contact.php
Credits.php
Delegation.php
Directory.php
Feed.php
FollowConfirm.php
Friendica.php Renamed to 'public' after feedback 2023-07-26 10:20:14 +02:00
FriendSuggest.php
Hashtag.php
HCard.php
Help.php
Home.php
Install.php
Invite.php fixes registration link in invitations 2023-07-05 10:12:10 +02:00
Magic.php
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php
Oembed.php
OpenSearch.php
Owa.php
ParseUrl.php
PermissionTooltip.php
Photo.php
Proxy.php
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
Response.php
RobotsTxt.php
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
Welcome.php
Xrd.php Centralize Vary header declaration in ActivityPub::isRequest 2023-07-08 22:24:01 -04: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.