Skip to content

Customizing Groups and Options

Customizing groups and options depends on their type:

Lookup values, Enums

Use your favorite DB client program to manipulate table(s) directly.

Restricted Values

Change values in Model app\Models\DigModule\Specific[Model].restricteValues()

Tags

Use your favorite DB client program to manipulate the [module]_tags & [module]_tag_groups table(s) directly.

Onps (Optional Numeric Properties)

Use your favorite DB client program to manipulate the [module]_onps directly.

Edit the Back End Config Files

If new groups were added/deleted, the module`s configuration files need to be updated. Two files are involved:

  • App\Services\App\Configs[module]Config.groups() - add group configuration
  • App\Services\App\Configs[module]InitDetails.categories() - add the group to the Trio structure

Dependency

The Dependency array is actually an array of subarrays. AND operations are performed on the main array and OR operations are performed on the elements of each subarray.

The names of Groups:Options are derived from their respective sources and a "GroupOrOptionNameNotFound" exception is thrown in the case of a name mismatch.