friendica/src/Module
2019-08-12 07:30:33 +02:00
..
Admin Queue numbers corrected, only display 999 queue items 2019-08-12 07:30:33 +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 catching nulls for FileTag 2019-05-30 13:54:35 +02:00
Item Update master translation strings file 2019-08-06 07:09:05 -04:00
Notifications
Profile
Search
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 Add themed themed error page or login page for /admin[/*] 2019-05-31 00:23:30 -04:00
BaseSearchModule.php Fix searching for contacts 2019-06-20 21:56:18 +00:00
BaseSettingsModule.php
Bookmarklet.php
Contact.php "all" contacts shouldn't show archived contacts 2019-07-24 19:29:45 +00:00
Credits.php
Directory.php Use correct entry list in Module\Directory 2019-06-15 08:44:55 -04:00
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 Fixing installer 2019-07-21 14:21:02 +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 Redirect remote visitors to their own profile after logout 2019-06-11 19:41:11 -04:00
Magic.php Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:54 +02:00
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 Use "received" instead of "created" when displaying posts in creation order 2019-07-07 21:30:33 +00:00
Proxy.php
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php
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.