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


PHP VirtueMartModelCustomfields::setEditCustomHidden方法代码示例

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


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

示例1: htmlentities

                    $titel = vmText::_('COM_VIRTUEMART_CUSTOM_INHERITED') . '</br>';
                }
            }
            if (!empty($titel)) {
                $text = '<span style="white-space: nowrap;" class="hasTip" title="' . htmlentities(vmText::_('COM_VIRTUEMART_CUSTOMFLD_DIS_DER_TIP')) . '">d:' . VmHtml::checkbox('field[' . $i . '][disabler]', $customfield->disabler, $checkValue) . '</span>
							<span style="white-space: nowrap;" class="hasTip" title="' . htmlentities(vmText::_('COM_VIRTUEMART_DIS_DER_CUSTOMFLD_OVERR_DER_TIP')) . '">o:' . VmHtml::checkbox('field[' . $i . '][override]', $customfield->override, $checkValue) . '</span>';
            }
            $tables['fields'] .= '<tr class="removable">
							<td >
							<b>' . vmText::_($type) . '</b> ' . vmText::_($customfield->custom_title) . '</span><br/>
								' . $titel . ' ' . $text . '
								<span class="vmicon vmicon-16-' . $cartIcone . '"></span>
								<span class="vmicon vmicon-16-move"></span>
								<span class="vmicon vmicon-16-remove"></span>

						' . VirtueMartModelCustomfields::setEditCustomHidden($customfield, $i) . '</td>
							<td ' . $colspan . '>' . $customfield->display . '</td>
						 </tr>';
        }
        $i++;
    }
}
$emptyTable = '
				<tr>
					<td colspan="8">' . vmText::_('COM_VIRTUEMART_CUSTOM_NO_TYPES') . '</td>
				<tr>';
?>
			<fieldset style="background-color:#F9F9F9;">
				<legend><?php 
echo vmText::_('COM_VIRTUEMART_RELATED_CATEGORIES');
?>
开发者ID:naka211,项目名称:studiekorrektur,代码行数:31,代码来源:product_edit_custom.php

示例2: htmlentities

                }
            }
            if (!empty($title)) {
                $text = '<span style="white-space: nowrap;" class="hasTip" title="' . htmlentities(vmText::_('COM_VIRTUEMART_CUSTOMFLD_DIS_DER_TIP')) . '">d:' . VmHtml::checkbox('field[' . $i . '][disabler]', $customfield->disabler, $checkValue) . '</span>
							<span style="white-space: nowrap;" class="hasTip" title="' . htmlentities(vmText::_('COM_VIRTUEMART_DIS_DER_CUSTOMFLD_OVERR_DER_TIP')) . '">o:' . VmHtml::checkbox('field[' . $i . '][override]', $customfield->override, $checkValue) . '</span>';
            }
            $tables['fields'] .= '<tr class="removable">
							<td >
							<b>' . vmText::_($type) . '</b> ' . vmText::_($customfield->custom_title) . '</span><br/>
								' . $title . ' ' . $text . '
								<span class="vmicon vmicon-16-' . $cartIcone . '"></span>';
            if ($customfield->virtuemart_product_id == $this->product->virtuemart_product_id or $customfield->override != 0) {
                $tables['fields'] .= '<span class="vmicon vmicon-16-move"></span>
							<span class="vmicon vmicon-16-remove"></span>';
            }
            $tables['fields'] .= VirtueMartModelCustomfields::setEditCustomHidden($customfield, $i) . '</td>
							<td ' . $colspan . '>' . $customfield->display . '</td>
						 </tr>';
        }
        $i++;
    }
}
$emptyTable = '
				<tr>
					<td colspan="8">' . vmText::_('COM_VIRTUEMART_CUSTOM_NO_TYPES') . '</td>
				<tr>';
?>
			<fieldset style="background-color:#F9F9F9;">
				<legend><?php 
echo vmText::_('COM_VIRTUEMART_RELATED_CATEGORIES');
?>
开发者ID:cybershocik,项目名称:Darek,代码行数:31,代码来源:product_edit_custom.php

示例3:

                if ($customfield->override != 0) {
                    $titel = vmText::sprintf('COM_VIRTUEMART_CUSTOM_OVERRIDE', $checkValue);
                }
            } else {
                if ($customfield->virtuemart_product_id == $this->product->product_parent_id) {
                    $titel = vmText::_('COM_VIRTUEMART_CUSTOM_INHERITED') . '<br/>';
                }
            }
            if (!empty($titel)) {
                $text = '<span style="white-space: nowrap;" > d:' . VmHtml::checkbox('field[' . $i . '][disabler]', $customfield->disabler, $checkValue) . ' o:' . VmHtml::checkbox('field[' . $i . '][override]</span>', $customfield->override, $checkValue);
            }
            $tables['fields'] .= '<tr class="removable">
							<td><span >' . $titel . $text . '<br />' . vmText::_($customfield->custom_title) . '</span></td>
							<td>' . $customfield->display . '</td>
							<td>
								<span class="vmicon vmicon-16-' . $cartIcone . '"></span>' . vmText::_($this->fieldTypes[$customfield->field_type]) . VirtueMartModelCustomfields::setEditCustomHidden($customfield, $i) . '</td>
							<td><span class="vmicon vmicon-16-move"></span>
								<span class="vmicon vmicon-16-remove"></span>' . '</td>
						 </tr>';
        }
        $i++;
    }
}
$emptyTable = '
				<tr>
					<td colspan="8">' . vmText::_('COM_VIRTUEMART_CUSTOM_NO_TYPES') . '</td>
				<tr>';
?>
			<fieldset style="background-color:#F9F9F9;">
				<legend><?php 
echo vmText::_('COM_VIRTUEMART_RELATED_CATEGORIES');
开发者ID:lenard112,项目名称:cms,代码行数:31,代码来源:product_edit_custom.php

示例4: foreach

foreach ($product->customfields as $customRow) {
    ?>
			<?php 
    if ($customRow->field_type == 'E') {
        ?>
				<fieldset class="removable">
					<legend><?php 
        echo JText::_($customRow->custom_title);
        ?>
</legend>
					<span><?php 
        echo $customRow->display . $customRow->custom_tip;
        ?>
</span>
					<?php 
        echo VirtueMartModelCustomfields::setEditCustomHidden($customRow, $i);
        ?>
					<span class="vmicon icon-nofloat vmicon-16-<?php 
        echo $customRow->is_cart_attribute ? 'default' : 'default-off';
        ?>
"></span>
					<span class="vmicon vmicon-16-remove"></span>
				</fieldset>
			<?php 
    }
    ?>
			<?php 
    $i++;
}
?>
			</div>
开发者ID:Gskflute,项目名称:joomla25,代码行数:31,代码来源:form.php

示例5:

							<td ><span class="vmicon vmicon-16-move"></span></td>
						 </tr>';
            /*$tables['fields'] .= '
            		<tr class="removable">
            			<td>'.JText::_($customfield->custom_title).'</td>
            			<td colspan="3"><span>'.$customfield->display.$customfield->custom_tip.'</span>'.
            			VirtueMartModelCustomfields::setEditCustomHidden($customfield, $i)
            		  .'</td><span class="vmicon icon-nofloat vmicon-16-'.$cartIcone.'"></span>
            			<span class="vmicon vmicon-16-remove"></span>
            		</tr>';*/
        } else {
            $tables['fields'] .= '<tr class="removable">
							<td>' . JText::_($customfield->custom_title) . '</td>
							<td>' . $customfield->custom_tip . '</td>
							<td>' . $customfield->display . '</td>
							<td>' . JText::_($this->fieldTypes[$customfield->field_type]) . VirtueMartModelCustomfields::setEditCustomHidden($customfield, $i) . '</td>
							<td>
							<span class="vmicon vmicon-16-' . $cartIcone . '"></span>
							</td>
							<td><span class="vmicon vmicon-16-remove"></span><input class="ordering" type="hidden" value="' . $customfield->ordering . '" name="field[' . $i . '][ordering]" /></td>
							<td ><span class="vmicon vmicon-16-move"></span></td>
						 </tr>';
        }
        $i++;
    }
}
$emptyTable = '
				<tr>
					<td colspan="8">' . JText::_('COM_VIRTUEMART_CUSTOM_NO_TYPES') . '</td>
				<tr>';
?>
开发者ID:Roma48,项目名称:abazherka_old,代码行数:31,代码来源:product_edit_custom.php


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