Diff for Metafox/lib/HTML/Template/Platon.php between version 1.3 and 1.4
| version 1.3, 2007/09/16 20:49:19 |
version 1.4, 2014/10/15 13:00:17 |
| Line 82 class HTML_Template_Platon |
|
| Line 82 class HTML_Template_Platon |
|
| $this->_method = $method; |
$this->_method = $method; |
| } /* }}} */ |
} /* }}} */ |
| |
|
| function setLoadFunction($function_name) /* {{{ */ |
static function setLoadFunction($function_name) /* {{{ */ |
| { |
{ |
| if (isset($this)) { |
if (isset($this)) { |
| $this->_load_fnc = $function_name; |
$this->_load_fnc = $function_name; |
| Line 297 class HTML_Template_Platon |
|
| Line 297 class HTML_Template_Platon |
|
| if ($i & 1) { // code |
if ($i & 1) { // code |
| $ret .= $this->_array[$i]; |
$ret .= $this->_array[$i]; |
| } else { // normal string |
} else { // normal string |
| $ret .= '?>'.$this->_array[$i].'<?php '; |
$ret .= '?'.'>'.$this->_array[$i].'<'.'?php '; |
| } |
} |
| $ret .= "\n"; |
$ret .= "\n"; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|