Feature proposal #5295
closedImplement format function substitution to execute an object function
Description
Implement a substitution that allows an object function to be called. This way utility functions on an object like grabbing mimetype or URL that are used in CB Gallery can be called from CB Auto Actions.
Updated by krileon over 9 years ago
- % Done changed from 0 to 30
Partially implemented for external classes/objects. Example usage.
[cb:parse function="getOperatorTitle" class="cbautoactionsClass" operator="11" /]
All parameters excluding function and class are sent to the function in the order that they're used in the substitution. So operator (can be named whatever you want actually, etc var1) is sent to the function getOperatorTitle of the cbautoactionsClass class.
Still needs to be upgraded to support a class of "self" for the trigger object and class of "var1-10" so it can use var1-10 as the object allowing variable function calls.
Updated by krileon over 9 years ago
- Status changed from Assigned to Resolved
- % Done changed from 30 to 100