friendica/src/Module
Michael 91ad7936f3 Only sort the profile after pinned 2019-11-07 07:39:50 +00: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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00: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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00: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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
WellKnown parameters now are having a default value and are optional 2019-11-05 21:48:54 +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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Contact.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00: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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Objects.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +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
Profile.php Only sort the profile after pinned 2019-11-07 07:39:50 +00: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 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00: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.