friendica-github/src/Module
2024-01-15 19:41:26 +00:00
..
ActivityPub Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Admin Merge remote-tracking branch 'upstream/develop' into channel-relay 2024-01-15 19:41:26 +00:00
Api Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Blocklist/Domain Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Calendar Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Contact [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Conversation Merge remote-tracking branch 'upstream/develop' into channel-relay 2024-01-15 06:14:55 +00:00
Debug Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
DFRN Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Diaspora Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Filer Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
HTTPException Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Item Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Media Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Moderation Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Notifications Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OAuth Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OStatus [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Post Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Profile "ANY_VALUE" is removed 2024-01-15 16:45:24 +00:00
Search Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Security Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Settings Fix warning: E_WARNING: Undefined array key "publish" 2024-01-10 22:04:02 +00:00
Special Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Update Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
User Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
WellKnown Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
About.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
AccountManagementControlDocument.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Acctlink.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Apps.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Attach.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseAdmin.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseApi.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseModeration.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseNotifications.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseProfile.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseSearch.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseSettings.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Bookmarklet.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Circle.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Contact.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Credits.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Directory.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Feed.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
FollowConfirm.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Friendica.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
FriendSuggest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Hashtag.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
HCard.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Help.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Home.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Install.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Invite.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Magic.php [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Maintenance.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Manifest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NodeInfo110.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NodeInfo120.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NodeInfo210.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NoScrape.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Oembed.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OpenSearch.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Owa.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ParseUrl.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
PermissionTooltip.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Photo.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Proxy.php [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
PublicRSAKey.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
RandomProfile.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Register.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Response.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
RobotsTxt.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Smilies.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Statistics.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Theme.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ThemeDetails.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ToggleMobile.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Tos.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Welcome.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Xrd.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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.