What does it do?
I have never seen $ret = N.T.T.T.T.'<div id="toptabs">';or something like that, it seems like this will cause a parsing error ... can anyone explain why this is not so?
public function renderTabs() {
if(empty($this->currentTabs)) {
return '';
}
$ret = N.T.T.T.T.'<div id="toptabs">';
if(!empty($this->currentTabs['left'])) {
$ret .= $this->doTabs($this->currentTabs['left'], 'left');
}
if(!empty($this->currentTabs['right'])) {
$ret .= $this->doTabs($this->currentTabs['right'], 'right');
}
$ret .= N.T.T.T.T.'</div>';
return $ret;
}
Nand Tlooks like constants
and .concatenation
From the names and uses, I can assume that Nrepresents a newline and Ttab.
You have never seen it, as it is a rather strange way to write such things.
$ret = "\n\t\t\t\t<div id='toptabs'>";
or simply
$ret = "
<div id='toptabs'>";
looks more familiar
In any case, all this formatting should not be used at all, since all output should be processed by a template that allows you to write formatting such as