當前位置: 首頁>>代碼示例>>PHP>>正文


PHP tpl_block_strip函數代碼示例

本文整理匯總了PHP中tpl_block_strip函數的典型用法代碼示例。如果您正苦於以下問題:PHP tpl_block_strip函數的具體用法?PHP tpl_block_strip怎麽用?PHP tpl_block_strip使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了tpl_block_strip函數的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: tpl_function_seolink

?>
 
				<a href="<?php 
echo tpl_function_seolink(array('module' => 'users', 'method' => 'profile', 'section-code' => 'view', 'section-name' => $this->_vars['profile_section_name']), $this);
?>
" class="btn-link"><i class="icon icon-arrow-left icon-big edge hover"></i><?php 
echo l('btn_back', 'start', '', 'text', array());
?>
</a>
			</div>
		</div>
	</form>
	<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
?>
			<?php 
echo tpl_function_block(array('name' => geomap_load_geocoder, 'module' => 'geomap'), $this);
?>
	
		<script type='text/javascript'><?php 
echo '
		$(function(){
			var now = new Date();
			var yr =  (new Date(now.getYear() - ';
echo $this->_vars['age_max'];
echo ', 0, 1).getFullYear()) + \':\' + (new Date(now.getYear() - ';
echo $this->_vars['age_min'];
開發者ID:Calit2-UCI,項目名稱:IoT_Map,代碼行數:31,代碼來源:c_337b868d4ef5fb0228c7ed1b0a8c98aa.php

示例2: ob_get_contents

	<?php 
}
?>
	
	<!--<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->module_path . "users" . $this->module_templates . $this->get_current_theme_gid('', '"users"') . "map.html", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
$this->_tag_stack[] = array('tpl_block_strip', array());
tpl_block_strip(array(), null, $this);
ob_start();
?>
-->

<!--
<script>
var latitude = <?php 
echo $this->_vars['data']['lat'];
?>
;
var longitude = <?php 
echo $this->_vars['data']['lon'];
?>
;
</script>
開發者ID:Calit2-UCI,項目名稱:IoT_Map,代碼行數:31,代碼來源:c_d09e10f00060dbb27e155a3ce45e354f.php


注:本文中的tpl_block_strip函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。