friendica/src/Module
nupplaPhil c28f1fec51
General usage of type in input fields
2019-12-05 21:42:33 +01:00
..
Admin parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Contact parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Debug parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Diaspora Don't use the creation date when transmitting to Diaspora 2019-11-22 21:24:02 +01:00
Filer parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
HTTPException parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Item Update the return value of Item\Ignore to integer 2019-11-30 23:15:58 -05:00
Notifications parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Profile parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Search parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Settings parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Special Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
TwoFactor General usage of type in input fields 2019-12-05 21:42:33 +01:00
WellKnown Modules separated 2019-11-28 07:07:34 +00:00
AccountManagementControlDocument.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Acctlink.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
AllFriends.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Apps.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Attach.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
BaseAdminModule.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
BaseSearchModule.php Use Dice instantiation to access App\Arguments 2019-10-07 16:16:42 -04:00
BaseSettingsModule.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Bookmarklet.php Use visibility tags input for the default ACL selector 2019-11-28 12:54:53 -05:00
Contact.php Use visibility tags input for the default ACL selector 2019-11-28 12:54:53 -05:00
Credits.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Delegation.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Directory.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Feed.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
FollowConfirm.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Followers.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Following.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Friendica.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Group.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Hashtag.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Help.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Home.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Inbox.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Install.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Invite.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Like.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Login.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Logout.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Magic.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Maintenance.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Manifest.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
NodeInfo.php Modules separated 2019-11-28 07:07:34 +00:00
Objects.php Make quoted announces look better / more announce improvements 2019-12-04 07:02:39 +00:00
Oembed.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
OpenSearch.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Outbox.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Owa.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Photo.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Pinned.php Pinning: Missing file added 2019-11-09 03:17:18 +00:00
Profile.php Use visibility tags input for the default ACL selector 2019-11-28 12:54:53 -05:00
Proxy.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
PublicRSAKey.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
RandomProfile.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Register.php [hotfix] Fix syntax error in Module\Register 2019-11-09 01:09:26 -05:00
RobotsTxt.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Smilies.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Starred.php Changed exceptions 2019-11-05 22:28:12 +00:00
Statistics.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Theme.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
ThemeDetails.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
ToggleMobile.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Tos.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Welcome.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Xrd.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +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.