protected function _repeat(array $node) {
		$attrib=$node['@attrib'];
		unset($node['@attrib']);
		return
			'<?php '.
				(isset($attrib['counter'])?
					(($ctr=$this->token($attrib['counter'])).'=0; '):'').
				'foreach (('.
				$this->token($attrib['group']).'?:[]) as '.
				(isset($attrib['key'])?
					($this->token($attrib['key']).'=>'):'').
				$this->token($attrib['value']).'):'.
				(isset($ctr)?(' '.$ctr.'++;'):'').' ?>'.
				$this->build($node).
			'<?php endforeach; ?>';
	}
protected function _repeat(array $node) {
		$attrib=$node['@attrib'];
		unset($node['@attrib']);
		return
			'<?php '.
				(isset($attrib['counter'])?
					(($ctr=$this->token($attrib['counter'])).'=0; '):'').
				'foreach (('.
				$this->token($attrib['group']).'?:[]) as '.
				(isset($attrib['key'])?
					($this->token($attrib['key']).'=>'):'').
				$this->token($attrib['value']).'):'.
				(isset($ctr)?(' '.$ctr.'++;'):'').' ?>'.
				$this->build($node).
			'<?php endforeach; ?>';
	}
protected function _repeat ( array $ node ) { $ attrib = $ node [ '@attrib' ] ; unset ( $ node [ '@attrib' ] ) ; return '<?php ' . ( isset ( $ attrib [ 'counter' ] ) ? ( ( $ ctr = $ this -> token ( $ attrib [ 'counter' ] ) ) . '=0; ' ) : '' ) . 'foreach ((' . $ this -> token ( $ attrib [ 'group' ] ) . '?:[]) as ' . ( isset ( $ attrib [ 'key' ] ) ? ( $ this -> token ( $ attrib [ 'key' ] ) . '=>' ) : '' ) . $ this -> token ( $ attrib [ 'value' ] ) . '):' . ( isset ( $ ctr ) ? ( ' ' . $ ctr . '++;' ) : '' ) . ' ?>' . $ this -> build ( $ node ) . '<?php endforeach; ?>' ; }
Template -repeat- tag handler
@return string
@param $node array
Template - repeat - tag handler