Feature proposal #6962
closed
Implement extendable User parameter
Added by krileon almost 7 years ago.
Updated almost 7 years ago.
Start date:
05 January 2018
Description
The User parsing needs to be more strict in its case checking (no else, but only elseif) then a trigger added to allow the user parsing to be overridden or extended. This can be done directly in the ->run function of auto action table objects. Trigger could probably be autoactions_onRunAutoAction.
This could possibly also just be done from the GJ action type it self? (addition of the trigger would still be good though)
- Target version changed from 10.0.0 to 7.2.0
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Implemented the following trigger.
$_PLUGINS->trigger( 'autoactions_onRun', array( &$this, &$variables, &$userIds, &$users, &$loop ) );
This will allow extending of the user parsing behavior in addition to variables and looping behavior. This is executed AFTER user and loop parsing is done, but before execution.
At this time this will be utilized. Special User types maybe added in the future. For now using custom coding will be the best approach with the Custom User type.
- Status changed from Resolved to Closed
Also available in: Atom
PDF