ADD details in documentation for DepotComponent
This commit is contained in:
parent
176311acfb
commit
d33f43073f
11
README.md
11
README.md
@ -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
|
||||||
|
@ -14,5 +14,4 @@ use Joomla\CMS\Extension\MVCComponent;
|
|||||||
|
|
||||||
class DepotComponent extends MVCComponent
|
class DepotComponent extends MVCComponent
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user