I don't believe this is possible. But it would be pretty neat if it were. At least I could't find anything online about it, so I thought I'd ask here.
So we're using constants
cst_internalc::prefs_show_sidebar;
cst_internalc::prefs_days_remain;
cst_internalc::prefs_days_expire;
etc...
Basically, I'm trying to get a hold of these constants using a string.
so something like...
$string = sprintf('cst_internalc::prefs_%s', 'days_remain');
and then using that generated string to get the cst_internalc::prefs_days_remain
constant.
Is something like this at all possible?
Thanks!