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


PHP smarty_modifier_strip_semicolon函數代碼示例

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


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

示例1: ob_start

}
?>
</td>
</tr>
<tr>
<td valign="top" id='description_label' width='12.5%' scope="row">
<?php 
ob_start();
echo smarty_function_sugar_translate(array('label' => 'LBL_DESCRIPTION', 'module' => 'Accounts'), $this);
?>

<?php 
$this->_smarty_vars['capture']['label'] = ob_get_contents();
$this->assign('label', ob_get_contents());
ob_end_clean();
echo is_array($_tmp = $this->_tpl_vars['label']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:
</td>
<td valign="top" width='37.5%' colspan='3'>
<?php 
echo smarty_function_counter(array('name' => 'panelFieldCount', 'print' => false), $this);
?>


<?php 
if (empty($this->_tpl_vars['fields']['description']['value'])) {
    $this->assign('value', $this->_tpl_vars['fields']['description']['default_value']);
} else {
    $this->assign('value', $this->_tpl_vars['fields']['description']['value']);
}
開發者ID:isrealconsulting,項目名稱:ic-suite,代碼行數:31,代碼來源:%%7D^7DB^7DBC95CD%%ConvertLead.tpl.php

示例2: is_array

<td width="15%" scope="row"><slot><?php 
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_USE_GROUP_TABS']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td><slot><input class="checkbox" type="checkbox" disabled <?php 
echo $this->_tpl_vars['USE_GROUP_TABS'];
?>
></slot></td>
<td><slot><?php 
echo $this->_tpl_vars['MOD']['LBL_NAVIGATION_PARADIGM_DESCRIPTION'];
?>
&nbsp;</slot></td>
</tr>
<tr>
<td width="15%" scope="row"><slot><?php 
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_SUBPANEL_TABS']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td><slot><input class="checkbox" type="checkbox" disabled <?php 
echo $this->_tpl_vars['SUBPANEL_TABS'];
?>
></slot></td>
<td><slot><?php 
echo $this->_tpl_vars['MOD']['LBL_SUBPANEL_TABS_DESCRIPTION'];
?>
&nbsp;</slot></td>
</tr>
</table>
</div>
</div>
<?php 
開發者ID:omusico,項目名稱:SelkirkCRM,代碼行數:31,代碼來源:%%CC^CCF^CCFE3224%%DetailView.tpl.php

示例3: is_array

<tr>
<td width="17%" scope="row"><slot><?php 
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_SEARCH_URL']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
:</slot></td>
<td colspan=2><span class="calendar_publish_ok"><?php 
echo $this->_tpl_vars['CALENDAR_SEARCH_URL'];
?>
</span><span class="calendar_publish_none" style="display: none"><?php 
echo $this->_tpl_vars['MOD']['LBL_NO_KEY'];
?>
</span></td>
</tr>
<tr>
<td width="15%" scope="row"><slot><?php 
echo is_array($_tmp = $this->_tpl_vars['MOD']['LBL_ICAL_PUB_URL']) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp);
?>
: <?php 
echo smarty_function_sugar_help(array('text' => $this->_tpl_vars['MOD']['LBL_ICAL_PUB_URL_HELP']), $this);
?>
</slot></td>
<td colspan=2><span class="calendar_publish_ok"><?php 
echo $this->_tpl_vars['CALENDAR_ICAL_URL'];
?>
</span><span class="calendar_publish_none" style="display: none"><?php 
echo $this->_tpl_vars['MOD']['LBL_NO_KEY'];
?>
</span></td>
</tr>
<tr>
<td width="17%" scope="row"><slot><?php 
開發者ID:stevenwck,項目名稱:demo-sugarcrm,代碼行數:31,代碼來源:%%06^069^0692D1FA%%EditView.tpl.php


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