protected function _renderPartial($tag_name, $leading, $trailing) {
		$partial = $this->_getPartial($tag_name);
		if ($leading !== null && $trailing !== null) {
			$whitespace = trim($leading, "\r\n");
			$partial = preg_replace('/(\\r?\\n)(?!$)/s', "\\1" . $whitespace, $partial);
		}

		$view = clone($this);

		if ($leading !== null && $trailing !== null) {
			return $leading . $view->render($partial);
		} else {
			return $leading . $view->render($partial) . $trailing;
		}
	}
protected function _renderPartial($tag_name, $leading, $trailing) {
		$partial = $this->_getPartial($tag_name);
		if ($leading !== null && $trailing !== null) {
			$whitespace = trim($leading, "\r\n");
			$partial = preg_replace('/(\\r?\\n)(?!$)/s', "\\1" . $whitespace, $partial);
		}

		$view = clone($this);

		if ($leading !== null && $trailing !== null) {
			return $leading . $view->render($partial);
		} else {
			return $leading . $view->render($partial) . $trailing;
		}
	}
protected function _renderPartial ( $ tag_name , $ leading , $ trailing ) { $ partial = $ this -> _getPartial ( $ tag_name ) ; if ( $ leading !== null && $ trailing !== null ) { $ whitespace = trim ( $ leading , "\r\n" ) ; $ partial = preg_replace ( '/(\\r?\\n)(?!$)/s' , "\\1" . $ whitespace , $ partial ) ; } $ view = clone ( $ this ) ; if ( $ leading !== null && $ trailing !== null ) { return $ leading . $ view -> render ( $ partial ) ; } else { return $ leading . $ view -> render ( $ partial ) . $ trailing ; } }
Render the requested partial.

@access protected
@param string $tag_name
@param string $leading Whitespace
@param string $trailing Whitespace
@return string
Render the requested partial .