friendica/src/Module
2021-08-08 20:03:28 +00:00
..
ActivityPub
Admin
Api Use a centralized function to delete delayed entries 2021-08-02 20:56:34 +00:00
Contact Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Conversation Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Debug
DFRN
Diaspora
Filer
HTTPException
Item Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Notifications
OAuth
Profile Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Search
Security Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Settings Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Special
Update
WellKnown
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php
BaseAdmin.php
BaseApi.php Get rid of App->user completely 2021-08-08 19:30:21 +00:00
BaseNotifications.php
BaseProfile.php Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
BaseSearch.php
BaseSettings.php
Bookmarklet.php Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Contact.php Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Credits.php
Delegation.php Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Directory.php
Feed.php
FollowConfirm.php
Friendica.php
FriendSuggest.php
Group.php
Hashtag.php
HCard.php Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Help.php
Home.php Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Install.php
Invite.php Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Magic.php Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Oembed.php
OpenSearch.php
Owa.php
ParseUrl.php
PermissionTooltip.php
Photo.php Improved error message for external resources 2021-08-06 04:02:42 +00:00
Proxy.php Don't send "accept" when we accept anything 2021-08-06 04:02:22 +00:00
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php
RemoteFollow.php
RobotsTxt.php
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Xrd.php Make the system owner ready for Diaspora 2021-08-05 08:30:44 +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.