You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* 1) pass an anonymous function */$this->addTransform('language', function($node,$item) {});
/* 2) pass an object byref with a "language" method, calls $myhelper->language() */$this->addTransform('language', $myhelper);
/* 3) pass the name of a method within the custom Converter, calls $this->langCoder() */$this->addTransform('language', "langCoder");
Option 2 would allow to include (share) external code (plugins) to perform the same Transform job over and over again.
The text was updated successfully, but these errors were encountered:
Currently the signature to create a new custom element Transform is unintuitive, rather complex and ugly:
Add a wrapper to
Converter
to streamline these calls, i.e.within the custom
Converter
Option 2 would allow to include (share) external code (plugins) to perform the same Transform job over and over again.
The text was updated successfully, but these errors were encountered: