Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Hypolite Petovan 2200996d44
[hotfix] Prevent fatal error in profile with pinned posts
3 years ago
..
Admin parameters now are having a default value and are optional 3 years ago
Contact parameters now are having a default value and are optional 3 years ago
Debug parameters now are having a default value and are optional 3 years ago
Diaspora parameters now are having a default value and are optional 3 years ago
Filer parameters now are having a default value and are optional 3 years ago
HTTPException parameters now are having a default value and are optional 3 years ago
Item parameters now are having a default value and are optional 3 years ago
Notifications parameters now are having a default value and are optional 3 years ago
Profile parameters now are having a default value and are optional 3 years ago
Search parameters now are having a default value and are optional 3 years ago
Settings parameters now are having a default value and are optional 3 years ago
Special Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 3 years ago
TwoFactor parameters now are having a default value and are optional 3 years ago
WellKnown parameters now are having a default value and are optional 3 years ago
AccountManagementControlDocument.php parameters now are having a default value and are optional 3 years ago
Acctlink.php parameters now are having a default value and are optional 3 years ago
AllFriends.php parameters now are having a default value and are optional 3 years ago
Apps.php parameters now are having a default value and are optional 3 years ago
Attach.php parameters now are having a default value and are optional 3 years ago
BaseAdminModule.php parameters now are having a default value and are optional 3 years ago
BaseSearchModule.php Use Dice instantiation to access App\Arguments 3 years ago
BaseSettingsModule.php parameters now are having a default value and are optional 3 years ago
Bookmarklet.php parameters now are having a default value and are optional 3 years ago
Contact.php parameters now are having a default value and are optional 3 years ago
Credits.php parameters now are having a default value and are optional 3 years ago
Delegation.php parameters now are having a default value and are optional 3 years ago
Directory.php parameters now are having a default value and are optional 3 years ago
Feed.php parameters now are having a default value and are optional 3 years ago
FollowConfirm.php parameters now are having a default value and are optional 3 years ago
Followers.php parameters now are having a default value and are optional 3 years ago
Following.php parameters now are having a default value and are optional 3 years ago
Friendica.php parameters now are having a default value and are optional 3 years ago
Group.php parameters now are having a default value and are optional 3 years ago
Hashtag.php parameters now are having a default value and are optional 3 years ago
Help.php parameters now are having a default value and are optional 3 years ago
Home.php parameters now are having a default value and are optional 3 years ago
Inbox.php parameters now are having a default value and are optional 3 years ago
Install.php parameters now are having a default value and are optional 3 years ago
Invite.php parameters now are having a default value and are optional 3 years ago
Like.php parameters now are having a default value and are optional 3 years ago
Login.php parameters now are having a default value and are optional 3 years ago
Logout.php parameters now are having a default value and are optional 3 years ago
Magic.php parameters now are having a default value and are optional 3 years ago
Maintenance.php parameters now are having a default value and are optional 3 years ago
Manifest.php parameters now are having a default value and are optional 3 years ago
NodeInfo.php parameters now are having a default value and are optional 3 years ago
Objects.php parameters now are having a default value and are optional 3 years ago
Oembed.php parameters now are having a default value and are optional 3 years ago
OpenSearch.php parameters now are having a default value and are optional 3 years ago
Outbox.php parameters now are having a default value and are optional 3 years ago
Owa.php parameters now are having a default value and are optional 3 years ago
Photo.php parameters now are having a default value and are optional 3 years ago
Profile.php [hotfix] Prevent fatal error in profile with pinned posts 3 years ago
Proxy.php parameters now are having a default value and are optional 3 years ago
PublicRSAKey.php parameters now are having a default value and are optional 3 years ago
README.md fixing text 3 years ago
RandomProfile.php parameters now are having a default value and are optional 3 years ago
ReallySimpleDiscovery.php parameters now are having a default value and are optional 3 years ago
Register.php parameters now are having a default value and are optional 3 years ago
RobotsTxt.php parameters now are having a default value and are optional 3 years ago
Smilies.php parameters now are having a default value and are optional 3 years ago
Starred.php Changed exceptions 3 years ago
Statistics.php parameters now are having a default value and are optional 3 years ago
Theme.php parameters now are having a default value and are optional 3 years ago
ThemeDetails.php parameters now are having a default value and are optional 3 years ago
ToggleMobile.php parameters now are having a default value and are optional 3 years ago
Tos.php parameters now are having a default value and are optional 3 years ago
Welcome.php parameters now are having a default value and are optional 3 years ago
Xrd.php parameters now are having a default value and are optional 3 years ago

README.md

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.