View Source MishkaInstaller.Plugin (Mishka Installer v0.0.4)

This module is for communication with Plugins table and has essential functions such as adding, editing, deleting, and displaying. This module is related to module MishkaInstaller.Database.PluginSchema.

Link to this section Summary

Functions

This is an aggregation function that includes editing or adding by name of plugin.

Callback implementation for MishkaDeveloperTools.DB.CRUD.delete/1.

Delete all the plugins of an event by an event name.

Callback implementation for MishkaDeveloperTools.DB.CRUD.edit/1.

Show plugins by event name or all the plugin.

Link to this section Functions

Link to this function

add_or_edit_by_name(state)

View Source

This is an aggregation function that includes editing or adding by name of plugin.

Callback implementation for MishkaDeveloperTools.DB.CRUD.create/1.

Link to this function

create(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_add/1.

Callback implementation for MishkaDeveloperTools.DB.CRUD.delete/1.

Delete all the plugins of an event by an event name.

Callback implementation for MishkaDeveloperTools.DB.CRUD.edit/1.

Link to this function

edit(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_edit/1.

Show plugins by event name or all the plugin.

Callback implementation for MishkaDeveloperTools.DB.CRUD.show_by_id/1.

See MishkaDeveloperTools.DB.CRUD.crud_get_by_field/2.