Overview
An action is a name for a certain task that should be performed when requesting a page in the CONTENIDO backend.Database | |
---|---|
Table | actions table |
Item | cApiAction |
Collection | cApiActionCollection |
Area
Each action is related to an area.
Name
Actions have a name that is often used as a parameter in backend URLs.
Alternate name
Actions even have an alternate name. (TODO what is this alternate name used for?).
Code
In former versions of CONTENIDO even the PHP code that had to be executed when performing a certain action was stored in the actions table. This code is now moved into files in the ROOT
/contenido/includes/type/action/ folder.
Relevancy
If an action is flagged as relevant a backend user needs the right to perform it. This requires the actions area to be relevant too.
Check if this is correct!
Logging
When an action has been performed it is logged in the actionlog table.
Check if this has further preconditions!