mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-11 20:38:42 +00:00
rename module constants and fix some unit test bugs
This commit is contained in:
parent
a76d3aeeaf
commit
bde2e37a0b
|
|
@ -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,
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user