friendica/src/Module
Michael f7e859ec2c API: Set "dismissed" instead of "seen" 2021-12-28 20:38:18 +00:00
..
ActivityPub Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Admin Don't count the system user on the administration page 2021-12-24 12:36:44 +00:00
Api API: Set "dismissed" instead of "seen" 2021-12-28 20:38:18 +00:00
Contact Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Conversation Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Debug Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
DFRN Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Diaspora Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Events Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Filer Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
HTTPException Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Item Unused use removed 2021-12-02 06:37:06 +00:00
Notifications Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
OAuth API: Fix for OAuth endpoints that mustn't be authorized 2021-12-17 15:25:04 +00:00
Profile Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Search Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Security Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Settings Bump bacon/bacon-qr-code to 2.0.4 2021-12-11 17:26:39 +01:00
Special Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Update Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
WellKnown Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
AccountManagementControlDocument.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Acctlink.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Apps.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Attach.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
BaseAdmin.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
BaseApi.php Issue 11101: Fix API authentification 2021-12-17 07:04:52 +00:00
BaseNotifications.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
BaseProfile.php "Video" is replaced by a "Media" tab in contact and profile 2021-10-02 15:09:43 +00:00
BaseSearch.php "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
BaseSettings.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Bookmarklet.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Contact.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Credits.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Delegation.php Redirect to network page after delegation switch 2021-12-12 08:15:15 -05:00
Directory.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Feed.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
FollowConfirm.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Friendica.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
FriendSuggest.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Group.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Hashtag.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
HCard.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Help.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Home.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Install.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Invite.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Magic.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Maintenance.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Manifest.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
NodeInfo110.php Replace IRespondToRequests with PSR-7 ResponseInterface 2021-11-27 12:40:57 +01:00
NodeInfo120.php Replace IRespondToRequests with PSR-7 ResponseInterface 2021-11-27 12:40:57 +01:00
NodeInfo210.php Replace IRespondToRequests with PSR-7 ResponseInterface 2021-11-27 12:40:57 +01:00
NoScrape.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Oembed.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
OpenSearch.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Owa.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
ParseUrl.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
PermissionTooltip.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Photo.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Proxy.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
PublicRSAKey.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
RandomProfile.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Register.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
RemoteFollow.php Make $_REQUEST processing independent of sub-calls 2021-11-30 01:07:58 -05:00
Response.php Fixing Response 2021-11-27 12:40:57 +01:00
RobotsTxt.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Smilies.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Statistics.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Theme.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
ThemeDetails.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
ToggleMobile.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Tos.php Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Welcome.php Make BaseModule a real entity 2021-11-27 12:40:36 +01:00
Xrd.php Make BaseModule a real entity 2021-11-27 12:40:36 +01: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.