<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 *
 * @category    Artio
 * @package     Artio_MTurbo
 * @copyright   Copyright (c) 2010 Artio (http://www.artio.net)
 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

/**
 * Main container
 *
 * @category   Artio
 * @package    Artio_MTurbo
 * @author     Artio Magento Team (info@artio.net)
 */
class Artio_MTurbo_Block_Esi extends Artio_MTurbo_Block_Dynamic
{

	
	/**
	 * (non-PHPdoc)
	 * @see Mage_Core_Block_Abstract::_toHtml()
	 */
	protected function _toHtml()
	{
		// block must output html here
		// there must not be used a template, because original blocks could override it
		
		$url = $this->getUrl('mturbofrontend/index/esi', array('identifier' => $this->_getMTurboId()));
		
		return "<esi:include src=\"".$url."\" />";
	}

    
}
