friendica/src/Module
2020-09-26 09:09:56 +00:00
..
Admin Relay settings are now valid for the ActivityRelay as well 2020-09-22 15:48:44 +00:00
Api Fix ContactEndpoint & tests 2020-09-12 10:01:13 +02:00
Contact
Conversation Issue 9268: Don't show posts from followers on community page 2020-09-26 09:09:56 +00:00
Debug
Diaspora
Filer
HTTPException
Item
Notifications
Profile
Search Improve log message language in Module/Search/Index.php 2020-09-20 11:19:03 -04:00
Security Issue 9153 Use "info" instead of "notice" on successful operations 2020-09-07 10:17:42 +00:00
Settings Issue 9153 Use "info" instead of "notice" on successful operations 2020-09-07 10:17:42 +00:00
Special
Update
WellKnown
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php
BaseAdmin.php silkevicious found a typo 2020-09-15 15:38:31 +02:00
BaseApi.php Use Arguments->getCommand() where it makes more sense than getQueryString() 2020-09-12 09:09:15 -04:00
BaseNotifications.php
BaseProfile.php
BaseSearch.php
BaseSettings.php
Bookmarklet.php
Contact.php Issue 9229: Show unfollow with known contacts 2020-09-19 20:47:05 +00:00
Credits.php
Delegation.php
Directory.php
Feed.php
FollowConfirm.php
Followers.php
Following.php
Friendica.php Ability to set the database version 2020-09-13 15:57:24 +00:00
FriendSuggest.php
Group.php Issue 9153 Use "info" instead of "notice" on successful operations 2020-09-07 10:17:42 +00:00
Hashtag.php
Help.php
Home.php
HoverCard.php
Inbox.php
Install.php
Invite.php Issue 9153 Use "info" instead of "notice" on successful operations 2020-09-07 10:17:42 +00:00
Like.php
Magic.php
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php
Objects.php
Oembed.php
OpenSearch.php
Outbox.php
Owa.php
PermissionTooltip.php
Photo.php
Pinned.php
Proxy.php
PublicRSAKey.php Replace library/asn1.php with phpseclib 2020-09-12 20:44:36 +02:00
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php
RemoteFollow.php
RobotsTxt.php
Smilies.php
Starred.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Worker.php Rewrite Process Model/Core 2020-09-15 18:16:44 +02:00
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.