protected function _parse_template()
{
if ($this->_template_rows !== NULL) {
return;
}
if ($this->_template === NULL or !preg_match('/\\{rows\\}(.*?)\\{\\/rows\\}/si', $this->_template, $match)) {
$this->_default_template();
return;
}
$this->_template_rows = $match[1];
$this->_template = str_replace($match[0], '{rows}', $this->_template);
}