friendica/src/Module
2021-11-14 23:49:05 +01:00
..
ActivityPub Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Admin Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Api Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Contact Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Conversation Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Debug Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
DFRN Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Diaspora Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Events Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Filer Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
HTTPException Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Item Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Notifications Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
OAuth Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Profile Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Search Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Security Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Settings Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Special The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Update Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
WellKnown Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
AccountManagementControlDocument.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Acctlink.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Apps.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Attach.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
BaseAdmin.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
BaseApi.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
BaseNotifications.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +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 Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Bookmarklet.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Contact.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Credits.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Delegation.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Directory.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Feed.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
FollowConfirm.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Friendica.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
FriendSuggest.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Group.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Hashtag.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
HCard.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Help.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Home.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Install.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Invite.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Magic.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Maintenance.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Manifest.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
NodeInfo110.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
NodeInfo120.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
NodeInfo210.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
NoScrape.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Oembed.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
OpenSearch.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Owa.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
ParseUrl.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
PermissionTooltip.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Photo.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Proxy.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
PublicRSAKey.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
RandomProfile.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Register.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
RemoteFollow.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
RobotsTxt.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Smilies.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Statistics.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Theme.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
ThemeDetails.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
ToggleMobile.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Tos.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Welcome.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Xrd.php Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +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.