daydreamer Posted April 16, 2009 Share Posted April 16, 2009 Hi. I am editing a Joomla component (marketplace) to add specific functions. I am trying to edit the output text, but they are all in this format: <?php echo JOO_PRICE_BASIC_TEXT; ?> No $variable, is this an object? How to I edit the text it contains? Thanks. Link to comment https://forums.phpfreaks.com/topic/154332-solved-is-echo-joo_price_basic_text-an-object/ Share on other sites More sharing options...
JasonLewis Posted April 16, 2009 Share Posted April 16, 2009 It's a CONSTANT. Look it up, basically the same as a variable. They are setting it somewhere, and it is set by 'const'. Eg: const JOO_PRICE_BASIC_TEXT = "Hello"; Link to comment https://forums.phpfreaks.com/topic/154332-solved-is-echo-joo_price_basic_text-an-object/#findComment-811368 Share on other sites More sharing options...
daydreamer Posted April 16, 2009 Author Share Posted April 16, 2009 Ah right, cool. thanks Link to comment https://forums.phpfreaks.com/topic/154332-solved-is-echo-joo_price_basic_text-an-object/#findComment-811384 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.