friendica/src/Module
2023-09-26 05:05:51 +00:00
..
ActivityPub
Admin
Api
Blocklist/Domain
Calendar
Contact Label variable removed 2023-09-18 05:34:41 +00:00
Conversation User defined channels can now base on circles/channels 2023-09-24 00:45:07 +00:00
Debug
DFRN
Diaspora
Filer
HTTPException
Item
Media
Moderation Code standards againg 2023-09-10 08:16:06 +00:00
Notifications
OAuth
OStatus The query condition for active users are unified 2023-09-08 15:01:51 +00:00
Post
Profile The query condition for active users are unified 2023-09-08 15:01:51 +00:00
Search
Security The query condition for active users are unified 2023-09-08 15:01:51 +00:00
Settings Changes after review 2023-09-26 05:05:51 +00:00
Special Implement ignored server block in conversations 2023-08-20 14:27:43 -04:00
Update Channels can now be created by users 2023-09-19 09:05:28 +00:00
User
WellKnown
About.php
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php
BaseAdmin.php
BaseApi.php
BaseModeration.php Basic functionality for seeing reports 2023-09-10 08:00:44 +00:00
BaseNotifications.php
BaseProfile.php
BaseSearch.php
BaseSettings.php Add author to the search content / fix sidebar link to channels 2023-09-22 05:16:46 +00:00
Bookmarklet.php
Circle.php
Contact.php
Credits.php
Delegation.php
Directory.php
Feed.php
FollowConfirm.php
Friendica.php
FriendSuggest.php
Hashtag.php
HCard.php
Help.php
Home.php
Install.php
Invite.php
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
Response.php
RobotsTxt.php
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Xrd.php

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.