当前位置: 首页>>代码示例>>PHP>>正文


PHP Smarty_Internal_Template::getRenderedTemplate方法代码示例

本文整理汇总了PHP中Smarty_Internal_Template::getRenderedTemplate方法的典型用法代码示例。如果您正苦于以下问题:PHP Smarty_Internal_Template::getRenderedTemplate方法的具体用法?PHP Smarty_Internal_Template::getRenderedTemplate怎么用?PHP Smarty_Internal_Template::getRenderedTemplate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Smarty_Internal_Template的用法示例。


在下文中一共展示了Smarty_Internal_Template::getRenderedTemplate方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: smartyTranslate

    ?>
"><?php 
    echo smartyTranslate(array('s' => 'Home'), $_smarty_tpl);
    ?>
</a></li>
</ul>
    <?php 
} else {
    ?>
<p class="bold"><?php 
    echo smartyTranslate(array('s' => 'For questions about an order or for more information about our products'), $_smarty_tpl);
    ?>
.</p>
<?php 
    $_template = new Smarty_Internal_Template($_smarty_tpl->getVariable('tpl_dir')->value . "./errors.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
    echo $_template->getRenderedTemplate();
    unset($_template);
    ?>


<br />
<h3 style="text-align: center;"> Our designer </h3>
<div style=" margin-left : 25px; text-align: justify; font-size: 13px;">
    <div style="float: left; padding-right: 20px;">
        <img class="fourlink" style="width : 300px; height: 245px;" src="<?php 
    echo $_smarty_tpl->getVariable('img_prod_dir')->value;
    ?>
advantages/thomasdesigner.jpg" alt="designer of visibelly" title="designer of visibelly"/>
    </div>
    <div>
        <p>Thomas Rath, born in Cologne, has many talents: he is a designer, stylist and presenter. Without ever visiting a
开发者ID:nicolasjeol,项目名称:hec-ecommerce,代码行数:31,代码来源:f06782160f47c33564e47ac963722e8927a695cc.file.contact-form.tpl.php

示例2: unset

			[<?php echo $_smarty_tpl->tpl_vars['item']->value[0];?>
 : <?php echo $_smarty_tpl->tpl_vars['item']->value[1];?>
 : <?php echo $_smarty_tpl->tpl_vars['item']->value[2];?>
] <?php echo $_smarty_tpl->tpl_vars['item']->value[3];?>
<br>
		<?php }else{ ?>
			[<?php echo $_smarty_tpl->tpl_vars['item']->value[0];?>
 : <?php echo $_smarty_tpl->tpl_vars['item']->value[1];?>
] <?php echo $_smarty_tpl->tpl_vars['item']->value[2];?>
<br>
		<?php }?>
	<?php }} ?>
	</div>
	<div style='float: left; margin-right: 10px;'><h2>Statistika</h2>
	Data z reference spracovane za <?php echo $_smarty_tpl->getVariable('reference')->value;?>
<br>
	Data z wikipedie spracovane za <?php echo $_smarty_tpl->getVariable('wikipedia')->value;?>
<br>
	Data z google spracovane za <?php echo $_smarty_tpl->getVariable('google')->value;?>
<br>
	Data z wordnik spracovane za <?php echo $_smarty_tpl->getVariable('wordnik')->value;?>
<br>
	Data z FB search spracovane za <?php echo $_smarty_tpl->getVariable('facebook')->value;?>
<br>
	</div>
	<br clear="both">
<?php }?>

<?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
开发者ID:nosko,项目名称:socialSearch,代码行数:30,代码来源:692c3bc93f5ce1085954c77c1d0c047332ab27c2.file.search.tpl.php

示例3: array

  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("admin/includes/header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
<form method="post" action="" class="yform">

			    <div class="type-text">
				  <label for="username">
				  <br />
				  <br />
				  <br />
				  <br />
				  <br />
				  <br />
				  Username:</span></label>
				  <input type="text" name="login_user" id="username" size="20" />
</div>
	<div class="type-text">
				  <label for="password">Password</label>
<input type="password" name="login_pass" id="password" size="20" />
				</div>

			  <div class="type-button">
              		<input type="submit" value="Login"  class="reset" id="submit" name="submit" />
	          	</div>
			    </form>
<?php $_template = new Smarty_Internal_Template("admin/includes/footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
开发者ID:nargotik,项目名称:Cultural-Test,代码行数:30,代码来源:2ded1e993fde6fed8adc640c0e6b91b327cb15ad.file.login.tpl.php

示例4: display_debug

 /**
  * Opens a window for the Smarty Debugging Consol and display the data
  */
 public static function display_debug($obj)
 {
     // prepare information of assigned variables
     $ptr = self::get_debug_vars($obj);
     if ($obj instanceof Smarty) {
         $smarty = $obj;
     } else {
         $smarty = $obj->smarty;
     }
     $_assigned_vars = $ptr->tpl_vars;
     ksort($_assigned_vars);
     $_config_vars = $ptr->config_vars;
     ksort($_config_vars);
     $ldelim = $smarty->left_delimiter;
     $rdelim = $smarty->right_delimiter;
     $smarty->left_delimiter = '{';
     $smarty->right_delimiter = '}';
     $_template = new Smarty_Internal_Template($smarty->debug_tpl, $smarty);
     $_template->caching = false;
     $_template->force_compile = false;
     $_template->disableSecurity();
     $_template->cache_id = null;
     $_template->compile_id = null;
     if ($obj instanceof Smarty_Internal_Template) {
         $_template->assign('template_name', $obj->resource_type . ':' . $obj->resource_name);
     }
     if ($obj instanceof Smarty) {
         $_template->assign('template_data', self::$template_data);
     } else {
         $_template->assign('template_data', null);
     }
     $_template->assign('assigned_vars', $_assigned_vars);
     $_template->assign('config_vars', $_config_vars);
     $_template->assign('execution_time', microtime(true) - $smarty->start_time);
     echo $_template->getRenderedTemplate();
     $smarty->left_delimiter = $ldelim;
     $smarty->right_delimiter = $rdelim;
 }
开发者ID:kiang,项目名称:olc_baker,代码行数:41,代码来源:smarty_internal_debug.php


注:本文中的Smarty_Internal_Template::getRenderedTemplate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。