Search

You can find the results of your search below.

How To Move Classes to src
19 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 * Names... h the directory structure, with ''%%Friendica%%'' namespace being the base ''%%src%%'' directory. The ''%%Con
Autoloader with Composer
16 Hits, Last modified:
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 ... ItemsManager%%'', but as long as it is in another namespace, you don’t have any problem) Let’s say now that ... anagers: <code php> // src/BaseManager.php <?php namespace Friendica; class BaseManager { public functi
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
Themes
1 Hits, Last modified:
e is to import the `App` class from `\Friendica\` namespace. use Friendica\App; This will make our job