Actions
Feature proposal #5398
closedImplement support for substitution function object value
Description
When calling a substitution function (e.g. ->parent() or ->category()) implement support for returning a variable of the object if it's an object. So for example if it's an object or an array add support to pull one of its values. This will be needed for next CB GroupJive as it won't include a bunch of unnecessary objects with its trigger anymore.
Updated by krileon about 9 years ago
- Status changed from Assigned to Resolved
- Target version changed from 7.0.0 to 6.3.2
- % Done changed from 0 to 100
You can now use method="METHOD" to call an objects method. Basically subfunction support. So example as follows.
[cb:parse function="group" class="var1" method="get" get="user_id" /]
Would be the same as the following.
$var1->group()->get( 'user_id' )
Actions