1
0
Fork 0
friendica_2020-09-1_sharedH.../src/Module
Philipp Holzer 2a41f0b104
wrong field
2019-10-21 11:34:47 +02:00
..
Admin Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Debug Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Diaspora wrong field 2019-10-21 11:34:47 +02:00
Filer Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
HTTPException Make Router::getModuleClass throw exceptions 2019-10-11 19:59:05 -04:00
Item Update master translation strings file 2019-08-06 07:09:05 -04:00
Notifications rearrange content/init 2019-05-18 20:34:11 +02:00
Profile Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Search Merge pull request #7743 from MrPetovan/task/7190-remove-defaults-modules 2019-10-15 18:17:45 +02:00
Settings Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Special Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
TwoFactor Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
WellKnown
AccountManagementControlDocument.php
Acctlink.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
AllFriends.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
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 Use Dice instantiation to access App\Arguments 2019-10-07 16:16:42 -04:00
BaseSettingsModule.php Move mod/delegate to src/Module/Settings/Delegation 2019-10-09 22:17:09 -04:00
Bookmarklet.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Contact.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Credits.php
Delegation.php Move mod/manage to src/Module/Delegation 2019-10-11 19:59:06 -04:00
Directory.php Remove useless theme session variable deletions in modules 2019-10-06 12:08:15 -04:00
Feed.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
FollowConfirm.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Followers.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Following.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Friendica.php
Group.php
Hashtag.php
Help.php
Home.php Remove useless theme session variable deletions in modules 2019-10-06 12:08:15 -04:00
Inbox.php We now use a central function for fetching the postdata 2019-07-30 22:26:01 +00:00
Install.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Invite.php
Like.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Login.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Logout.php Delete the cache entry allowing direct login again 2019-09-29 06:26:02 +00:00
Magic.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Maintenance.php
Manifest.php
NodeInfo.php
Objects.php
Oembed.php
OpenSearch.php
Outbox.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Owa.php
Photo.php API: We now transmit the text description there as well 2019-08-04 03:45:23 +00:00
Profile.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Proxy.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
PublicRSAKey.php
RandomProfile.php some improvements 2019-05-19 03:12:22 +02:00
README.md
ReallySimpleDiscovery.php
Register.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
RobotsTxt.php
Smilies.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Starred.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Statistics.php
Theme.php Move mod/view to src/Module/View 2019-05-18 21:23:12 +02:00
ThemeDetails.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
ToggleMobile.php Move mod/toggle_mobile to src/Module/ToggleMobile 2019-05-18 21:13:19 +02:00
Tos.php
Welcome.php Move mod/newmember to src/Module/Welcome 2019-05-20 20:12:20 +02:00
Xrd.php Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04: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.