dynamic object manipulation

I need to check if a function exists and then call it, using its name as a reference for both operations. I know that the functions doesruleexist and rulereferencebyname exist, but I don't know which plugin they belong to or if there is an alternative.


PS: Due to business restrictions, I cannot use externalize() and internalize().

  Discussion posts and replies are publicly visible

Parents Reply
  • I have a long list of rules that have the same functionality: validating certain data as appropriate. Instead of using a huge choose(), I want to rely on this plugin that I know exists and ask if the name of the rule exists to execute the rule, since they all return the same structure and receive the same parameters. The issue is in the intermediate rule, where the choose is located.

Children