Compare commits

...

2 Commits

Author SHA1 Message Date
d33f43073f ADD details in documentation for DepotComponent 2023-10-06 05:13:46 +02:00
176311acfb typo in .editorconfig 2023-10-06 04:51:16 +02:00
3 changed files with 13 additions and 3 deletions

View File

@ -4,7 +4,7 @@ root = true
[*] [*]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
end_of_file = lf end_of_line = lf
charset = UTF-8 charset = UTF-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true

View File

@ -36,6 +36,17 @@ Add the following basic six files:
##### 1. DepotComponent.php ##### 1. DepotComponent.php
This file contains class for the extension. The class extends MVCComponent. This file contains class for the extension. The class extends MVCComponent.
Compare this version with the original at [Tech Fry Tutorium](https://www.techfry.com/joomla/adding-basic-files-for-component).
```php
namespace KW4NZ\Component\Depot\Administrator\Extension;
use Joomla\CMS\Extension\MVCComponent;
class DepotComponent extends MVCComponent
{
}
```
##### 2. provider.php ##### 2. provider.php
This is a special file that tells Joomla how to initialize the component - which This is a special file that tells Joomla how to initialize the component - which

View File

@ -14,5 +14,4 @@ use Joomla\CMS\Extension\MVCComponent;
class DepotComponent extends MVCComponent class DepotComponent extends MVCComponent
{ {
} }