friendica-github/src/Module
2024-10-08 20:49:24 +00:00
..
ActivityPub REUSE src directory 2024-08-24 15:27:00 +02:00
Admin OStatus support removed 2024-09-11 03:44:40 +00:00
Api OStatus support removed 2024-09-11 03:44:40 +00:00
Blocklist/Domain REUSE src directory 2024-08-24 15:27:00 +02:00
Calendar REUSE src directory 2024-08-24 15:27:00 +02:00
Contact Fix: changing contact settings 2024-10-08 20:49:24 +00:00
Conversation Avoid blank network page on database issues 2024-09-15 05:35:30 +00:00
Debug REUSE src directory 2024-08-24 15:27:00 +02:00
DFRN OStatus support removed 2024-09-11 03:44:40 +00:00
Diaspora REUSE src directory 2024-08-24 15:27:00 +02:00
Filer REUSE src directory 2024-08-24 15:27:00 +02:00
HTTPException REUSE src directory 2024-08-24 15:27:00 +02:00
Item REUSE src directory 2024-08-24 15:27:00 +02:00
Media Delete unused media attachments 2024-08-24 17:40:25 +00:00
Moderation Fixes #14407 2024-09-03 16:36:22 +00:00
Notifications REUSE src directory 2024-08-24 15:27:00 +02:00
OAuth REUSE src directory 2024-08-24 15:27:00 +02:00
OStatus OStatus support removed 2024-09-11 03:44:40 +00:00
Ping REUSE src directory 2024-08-24 15:27:00 +02:00
Post REUSE src directory 2024-08-24 15:27:00 +02:00
Privacy REUSE src directory 2024-08-24 15:27:00 +02:00
Profile OStatus support removed 2024-09-11 03:44:40 +00:00
Search OStatus support removed 2024-09-11 03:44:40 +00:00
Security REUSE src directory 2024-08-24 15:27:00 +02:00
Settings OStatus support removed 2024-09-11 03:44:40 +00:00
Special REUSE src directory 2024-08-24 15:27:00 +02:00
Update Avoid blank network page on database issues 2024-09-15 05:35:30 +00:00
User REUSE src directory 2024-08-24 15:27:00 +02:00
WellKnown OStatus support removed 2024-09-11 03:44:40 +00:00
About.php REUSE src directory 2024-08-24 15:27:00 +02:00
AccountManagementControlDocument.php REUSE src directory 2024-08-24 15:27:00 +02:00
Acctlink.php REUSE src directory 2024-08-24 15:27:00 +02:00
Apps.php REUSE src directory 2024-08-24 15:27:00 +02:00
Attach.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseAdmin.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseApi.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseModeration.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseNotifications.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseProfile.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseSearch.php REUSE src directory 2024-08-24 15:27:00 +02:00
BaseSettings.php REUSE src directory 2024-08-24 15:27:00 +02:00
Bookmarklet.php REUSE src directory 2024-08-24 15:27:00 +02:00
Circle.php REUSE src directory 2024-08-24 15:27:00 +02:00
Contact.php OStatus support removed 2024-09-11 03:44:40 +00:00
Credits.php REUSE src directory 2024-08-24 15:27:00 +02:00
Directory.php REUSE src directory 2024-08-24 15:27:00 +02:00
Feed.php REUSE src directory 2024-08-24 15:27:00 +02:00
FollowConfirm.php REUSE src directory 2024-08-24 15:27:00 +02:00
Friendica.php REUSE src directory 2024-08-24 15:27:00 +02:00
FriendSuggest.php REUSE src directory 2024-08-24 15:27:00 +02:00
Hashtag.php REUSE src directory 2024-08-24 15:27:00 +02:00
HCard.php OStatus support removed 2024-09-11 03:44:40 +00:00
Help.php REUSE src directory 2024-08-24 15:27:00 +02:00
Home.php REUSE src directory 2024-08-24 15:27:00 +02:00
Install.php REUSE src directory 2024-08-24 15:27:00 +02:00
Invite.php REUSE src directory 2024-08-24 15:27:00 +02:00
Magic.php REUSE src directory 2024-08-24 15:27:00 +02:00
Maintenance.php REUSE src directory 2024-08-24 15:27:00 +02:00
Manifest.php REUSE src directory 2024-08-24 15:27:00 +02:00
NodeInfo110.php OStatus support removed 2024-09-11 03:44:40 +00:00
NodeInfo120.php OStatus support removed 2024-09-11 03:44:40 +00:00
NodeInfo121.php OStatus support removed 2024-09-11 03:44:40 +00:00
NodeInfo122.php OStatus support removed 2024-09-11 03:44:40 +00:00
NodeInfo210.php OStatus support removed 2024-09-11 03:44:40 +00:00
NoScrape.php OStatus support removed 2024-09-11 03:44:40 +00:00
OpenSearch.php REUSE src directory 2024-08-24 15:27:00 +02:00
Owa.php REUSE src directory 2024-08-24 15:27:00 +02:00
ParseUrl.php REUSE src directory 2024-08-24 15:27:00 +02:00
Photo.php REUSE src directory 2024-08-24 15:27:00 +02:00
RandomProfile.php REUSE src directory 2024-08-24 15:27:00 +02:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php REUSE src directory 2024-08-24 15:27:00 +02:00
Register.php Merge branch 'develop' into reuse 2024-08-24 19:20:00 +02:00
Response.php REUSE src directory 2024-08-24 15:27:00 +02:00
RobotsTxt.php REUSE src directory 2024-08-24 15:27:00 +02:00
Smilies.php REUSE src directory 2024-08-24 15:27:00 +02:00
Statistics.php REUSE src directory 2024-08-24 15:27:00 +02:00
Stats.php REUSE src directory 2024-08-24 15:27:00 +02:00
Theme.php REUSE src directory 2024-08-24 15:27:00 +02:00
ThemeDetails.php REUSE src directory 2024-08-24 15:27:00 +02:00
ToggleMobile.php REUSE src directory 2024-08-24 15:27:00 +02:00
Tos.php REUSE src directory 2024-08-24 15:27:00 +02:00
Welcome.php REUSE src directory 2024-08-24 15:27:00 +02:00
Xrd.php OStatus support removed 2024-09-11 03:44:40 +00: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.