friendica/src/Module
2021-08-05 08:30:44 +00:00
..
ActivityPub
Admin Fix legacy storage config 2021-07-31 20:56:32 +02:00
Api Use a centralized function to delete delayed entries 2021-08-02 20:56:34 +00:00
Contact
Conversation
Debug Completely removed argc/argv 2021-07-25 15:23:37 +00:00
DFRN
Diaspora Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Filer Completely removed argc/argv 2021-07-25 15:23:37 +00:00
HTTPException
Item Added option to define a schedule date when posting items 2021-08-01 13:01:31 +00:00
Notifications
OAuth
Profile Display the publish time in the local timezone 2021-08-04 07:58:07 +02:00
Search
Security
Settings
Special
Update
WellKnown
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
BaseAdmin.php
BaseApi.php
BaseNotifications.php
BaseProfile.php Placeholder page for scheduled posts 2021-08-02 12:10:03 +00:00
BaseSearch.php
BaseSettings.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Bookmarklet.php
Contact.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Credits.php
Delegation.php Use the general function ro create an avatar path 2021-08-02 22:28:42 +00:00
Directory.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Feed.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
FollowConfirm.php
Friendica.php Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile() 2021-07-27 16:46:08 -04:00
FriendSuggest.php
Group.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Hashtag.php
HCard.php
Help.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Home.php
Install.php
Invite.php
Magic.php
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php
Oembed.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
OpenSearch.php
Owa.php
ParseUrl.php
PermissionTooltip.php
Photo.php
Proxy.php
PublicRSAKey.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php
RemoteFollow.php
RobotsTxt.php
Smilies.php Completely removed argc/argv 2021-07-25 15:23:37 +00:00
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.