Search

You can find the results of your search below.

How To Move Classes to src
23 Hits, Last modified:
his page is there to list them. ===== Decide the namespace ===== This isn’t the most technical decision of ... ica_classes|a shared Ethercalc sheet]] to suggest namespace/class names that lists all the already moved clas... pointers though: * ''%%Friendica%%'' is the base namespace for all classes in the ''%%src%%'' folder * Namespaces match the directory structure, with ''%%Friendica%%''
Autoloader with Composer
21 Hits, Last modified:
s and the class autoloader both for libraries and namespaced Friendica classes. It’s a command-line tool tha... ries into the ''%%vendor%%'' folder and makes any namespaced class in ''%%src%%'' available through the whole... class: <code php> // src/ItemsManager.php <?php namespace Friendica; class ItemsManager { public funct... er%%'' has been declared in the ''%%Friendica%%'' namespace. Namespaces are useful to keep classes separated
Friendica Storage Backend Addon development
5 Hits, Last modified:
ust live in ''%%Friendica\Addon\youraddonname%%'' namespace, where ''%%youraddonname%%'' the folder name of y... in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\ICanWriteToStor... in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\ICanConfigureSt... e/SampleStorageBackend.php%%'': <code php> <?php namespace Friendica\Addon\samplestorage; use Friendica\Cor
Using Composer
2 Hits, Last modified:
s and the class autoloader both for libraries and namespaced Friendica classes. It’s a command-line tool tha... ries into the ''%%vendor%%'' folder and makes any namespaced class in ''%%src%%'' available through the whole
Where to get started to help improve Friendica
2 Hits, Last modified:
s and the class autoloader both for libraries and namespaced Friendica classes. It's a command-line tool tha... libraries into the `vendor` folder and makes any namespaced class in `src` available through the whole appli
Themes
1 Hits, Last modified:
e is to import the `App` class from `\Friendica\` namespace. use Friendica\App; This will make our job