Triggers
class Triggers (View source)
Functions for trigger management.
Methods
Main function for the triggers functionality
Handles editor requests for adding or editing an item
This function will generate the values that are required to for the editor
This function will generate the values that are required to complete the "Edit trigger" form given the name of a trigger.
Displays a form used to add/edit a trigger
Composes the query necessary to create a trigger from an HTTP request.
Returns details about the TRIGGERs for a specific table or database.
Details
__construct(DatabaseInterface $dbi, Template $template, ResponseRenderer $response)
No description
void
main()
Main function for the triggers functionality
void
handleEditor()
Handles editor requests for adding or editing an item
array
getDataFromRequest()
This function will generate the values that are required to for the editor
array|null
getDataFromName(string $name)
This function will generate the values that are required to complete the "Edit trigger" form given the name of a trigger.
string
getEditorForm(string $db, string $table, string $mode, array $item)
Displays a form used to add/edit a trigger
string
getQueryFromRequest()
Composes the query necessary to create a trigger from an HTTP request.
static array
getDetails(DatabaseInterface $dbi, string $db, string $table = '', string $delimiter = '//')
Returns details about the TRIGGERs for a specific table or database.