Files
friendica/src/Module
Hypolite Petovan 4d15cc01e2 Move network module to src/
- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
2020-10-13 07:52:13 -04:00
..
2020-10-13 07:52:13 -04:00
2020-08-06 18:53:45 +00:00
2020-07-23 06:11:21 +00:00
2020-02-22 08:54:28 +00:00
2020-10-13 07:52:13 -04:00
2020-10-13 07:52:13 -04:00
2020-07-23 06:25:01 +00:00
2020-09-15 15:38:31 +02:00
2020-07-23 06:25:01 +00:00
2020-10-07 20:06:15 +00:00
2020-04-28 11:52:51 +00:00
2020-02-09 15:45:36 +01:00
2020-02-09 15:45:36 +01:00
2020-07-13 13:26:09 +00:00
2020-07-13 14:16:44 +00:00
2020-07-13 14:16:44 +00:00
2020-08-30 17:07:46 +00:00
2019-05-01 20:17:15 +02:00
2020-03-29 11:36:04 +02:00
2020-09-15 18:16:44 +02:00
2020-08-22 18:52:37 +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.