rename module constants and fix some unit test bugs

This commit is contained in:
Dennis Eichhorn 2021-09-28 18:28:36 +02:00
parent a76d3aeeaf
commit bde2e37a0b
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ $router->route('foo/bar', null, RouteVerb::GET, 'APP_NAME', ORG_ID, ACCOUNT);
'dest' => CLOSURE/REFERENCE_STRING,
'verb' => VERB_1 | VERB_2,
'permission' => [
'module' => MODULE_NAME,
'module' => NAME,
'type' => CREATE | READ | UPDATE | DELETE | PERMISSION,
'state' => MODULE_SPECIFIC_IDENTIFIER_FOR_THE_PERMISSION,
],

View File

@ -17,7 +17,7 @@ In order to trigger a re-cache of stylesheets or javascript files make sure to u
Example usage:
```php
$head->addAsset(AssetType::JS, $request->uri->getBase() . 'Modules/Media/Controller.js?v=' . self::MODULE_VERSION);
$head->addAsset(AssetType::JS, $request->uri->getBase() . 'Modules/Media/Controller.js?v=' . self::VERSION);
```
## System Cache

View File

@ -35,7 +35,7 @@ The `package.json` file contains information of the package.
```json
{
"name": "{MODULE_NAME|RESOURCE_NAME|phpOMS|jsOMS|cssOMS}",
"name": "{NAME|RESOURCE_NAME|phpOMS|jsOMS|cssOMS}",
"type": "Modules",
"version": "1.0.1",
"update": [