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


PHP flexicontent_html::nl2space方法代码示例

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


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

示例1: foreach

							<th align="left" width="" style="font-size:16px;">
								<?php 
echo JText::_('FLEXI_CURRENT_VERSION');
?>
							</th>
						</tr>
						<?php 
foreach ($this->fields as $field) {
    // used to hide the core fields from this listing
    if ($field->iscore == 0 || $field->field_type == 'maintext' && !$this->tparams->get('hide_maintext')) {
        // set the specific label for the maintext field
        if ($field->field_type == 'maintext') {
            $field->label = JText::_($this->tparams->get('maintext_label', $field->label));
            $field->description = $this->tparams->get('maintext_desc', $field->description);
            $field->display = $field->value ? flexicontent_html::nl2space($field->value[0]) : JText::_('FLEXI_NO_VALUE');
            $field->displayversion = $field->version ? flexicontent_html::nl2space($field->version[0]) : JText::_('FLEXI_NO_VALUE');
        }
        $noplugin = '<div class="fc-mssg-inline fc-warning" style="margin:0 4px 6px 4px; max-width: unset;">' . JText::_('FLEXI_PLEASE_PUBLISH_THIS_PLUGIN') . '</div>';
        //echo $field->name."<br/>";
        $html = flexicontent_html::flexiHtmlDiff(!is_array($field->displayversion) ? $field->displayversion : implode('', $field->displayversion), !is_array($field->display) ? $field->display : implode('', $field->display), $this->codemode);
        ?>
						<tr>
							<td class="key" style="text-align:right;'">
								<label for="<?php 
        echo $field->name;
        ?>
" class="label <?php 
        echo $tooltip_class;
        ?>
" title="<?php 
        echo flexicontent_html::getToolTip($field->label, $field->description, 0);
开发者ID:khetsothea,项目名称:flexicontent-cck,代码行数:31,代码来源:default.php


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