Using formatters

When using the Set value in the server side I am trying to use a formatter.

Created a file in dmxConnectLib/lib/core:

I just can’t seem to implement the formatted all I ever get returned is a null.

Added a test function just test and only ever get a null, not way to debug so any help is needed:

function formatter_rethel() {
       return 'hello';
 }

Also tried it as:

function formatter_rethel($val) {
$data = ‘hello’;
}

Screenshot 2020-10-19 at 20.29.22

Tried everything I can think of all I get back in null

Screenshot 2020-10-19 at 20.33.07

Community Page
Last updated: