Diff for phpPlatonLib/templateSystems/ObjTemplate/Attic/ObjTemplate.old.class.php between version 1.1 and 1.2
| version 1.1, 2001/11/02 19:19:59 |
version 1.2, 2001/11/04 19:55:20 |
| Line 157 class ObjTemplate |
|
| Line 157 class ObjTemplate |
|
| return $this->html; |
return $this->html; |
| } |
} |
| |
|
| function html_array() |
function html_array($prefix) |
| { |
{ |
| $regexp = $this->start_tag . 'include:([^%\b]+)' . |
$regexp = $this->start_tag . $prefix . ':([^%\b]+)' . |
| ( isset($this->end_tag) ? $this->end_tag : '\b' ) . ''; |
( isset($this->end_tag) ? $this->end_tag : '\b' ) . ''; |
| |
|
| preg_match_all("/$regexp/is", $this->html, $matches); |
preg_match_all("/$regexp/is", $this->html, $matches); |
Platon Group <platon@platon.org> http://platon.org/
|
|