Model Problem with field name

I have a field name like DL615-3 or DL615-a and my model crash with:




syntax error, unexpected '-', expecting '('

public static function getDlA615-3ValueLabel($value){



Unfortunately I can’t change the database field as some other parts rely on that.

Any Ideas how to fix that?

Greetings

Nikolaus Pluta

You can use


public static function getDlA6153ValueLabel($value){