friendica/src/Module
2019-09-14 07:12:25 +00:00
..
Admin Fix parameters for Source 2019-08-18 15:14:03 +02:00
Debug Remove wrap length in Babel HTML::toPlaintext display 2019-08-06 21:23:09 -04:00
Diaspora Fix a notice when the author is missing 2019-06-21 17:57:26 +00:00
Filer
Item Update master translation strings file 2019-08-06 07:09:05 -04:00
Notifications
Profile
Search Add missing use statement in Search\Directory 2019-08-18 15:21:36 -04:00
Settings/TwoFactor Remove debug 2019-07-22 17:41:21 -04:00
Special
TwoFactor Use template-displayed errors in TwoFactor\Verify 2019-07-23 20:02:26 -04:00
WellKnown
AccountManagementControlDocument.php
Acctlink.php
AllFriends.php
Apps.php
Attach.php
BaseAdminModule.php
BaseSearchModule.php Fix searching for contacts 2019-06-20 21:56:18 +00:00
BaseSettingsModule.php
Bookmarklet.php Fixed wrong app reference 2019-08-27 00:03:05 +02:00
Contact.php Only show incoming pending contact requests with intro 2019-09-09 08:58:56 +00:00
Credits.php
Directory.php
Feed.php
FollowConfirm.php
Followers.php
Following.php
Friendica.php
Group.php
Hashtag.php
Help.php
Home.php
Inbox.php We now use a central function for fetching the postdata 2019-07-30 22:26:01 +00:00
Install.php Moved BaseURL to App namespace (because similar type as Arguments/Modules/Modes) 2019-08-15 17:23:00 +02:00
Invite.php
Like.php
Login.php Hide registration button on login page when registration are closed 2019-07-15 09:11:21 -04:00
Logout.php
Magic.php
Maintenance.php
Manifest.php
NodeInfo.php
Objects.php
Oembed.php
OpenSearch.php
Outbox.php
Owa.php
PageNotFound.php
Photo.php API: We now transmit the text description there as well 2019-08-04 03:45:23 +00:00
Profile.php Issue 6553: Restructured code for treating removed accounts 2019-09-14 07:12:25 +00:00
Proxy.php
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php Create XML output for RSD with XML::fromArray() 2019-05-05 18:15:39 +02:00
Register.php Refactor L10n for testing 2019-07-16 16:44:47 +02:00
RobotsTxt.php
Smilies.php
Starred.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Xrd.php it is poll, not notify 2019-06-19 18:32:38 +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.