Confusion on $echo variable function

In the PageCode function in design.inc.php, I have to admit I don't understand this line of code, and was hoping someone would explain it.

$echo($oTemplate, 'page_' . $_page['name_index'] . '.html');

It looks like $echo is a variable function, separate from the standard php 'echo' function. But a text search of the source code didn't return any assignment of the variable to some function, or anything that defines it. The only instances of $echo are the two in PageCode.

Inserting a command like:
echo $echo
returns lambda_19 which I thought would be a function, but a search for lambda_19 doesn't return any results.

So I don't understand what this line of code is doing.

Any help would be much appreciated. Thanks.

- Brian

Quote · 9 Nov 2012

Not sure of your reason as to why you are looking at that function. But the content of $echo is assigned in the part of the code that is encrypted. It has to do with dolphins licencing system, and you cannot play with it.

There is no need to know what $echo does, and no one can actually tell you. Only the boonex developers would know, and they are not going to tell you.

Again, i do not know your reasons for even looking at it. You would never under any circumstances use it anywhere for your own coding and it is only used in one place in that file, and that file is the only one that contains it.

Your going to have to drop it. Considering it's part of dolphins licencing, you're not going to get an answer that would be of any use to you.

https://www.deanbassett.com
Quote · 9 Nov 2012

I was trying to understand Dolphin generally, and found that when I was tracing some code for profile fields.

I'm fine with not knowing the exact code if it is part of the licensing scheme and encrypted.

I was just puzzled, thought that maybe there was some aspect of PHP that I was unaware of, and confused why I couldn't trace that aspect.

Thanks for the response.

- Brian

Quote · 9 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.