html Miva联想阵列
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Miva联想阵列相关的知识,希望对你有一定的参考价值。
<h4>Basic Example</h4>
<mvt:assign name="g.associative_array" value="miva_array_deserialize( ':name=This is an example,:code=example' )"/>
<!-- miva_array_deserialize() is where the magic happens -->
&mvt:global:associative_array:name;<br>
&mvt:global:associative_array:code;<br>
<br>
<mvt:eval expr="glosub(miva_array_serialize(g.associative_array), ',', '<br>')" />
<hr>
<h4>Practical Example</h4>
<mvt:item name="customfields" param="Read_Product_ID( l.settings:product:id, '', l.settings:fields )" />
<mvt:foreach iterator="field" array="fields">
<mvt:if expr="l.settings:field:value">
<mvt:if expr="l.settings:product:cf:serialized">
<mvt:assign name="l.settings:product:cf:serialized" value="l.settings:product:cf:serialized $ ','" />
</mvt:if>
<mvt:assign name="l.settings:product:cf:serialized" value="l.settings:product:cf:serialized $ ':' $ l.settings:field:code $ '=' $ encodeattribute(l.settings:field:value)" />
</mvt:if>
</mvt:foreach>
<mvt:assign name="l.settings:product:cf" value="miva_array_deserialize( l.settings:product:cf:serialized )"/>
<mvt:eval expr="glosub(miva_array_serialize(l.settings:product), ',', '<br>')" />
<hr>
<h4>PCI Net Toolbelt</h4>
http://www.pcinet.com/docs/toolbelt_5.4_preview.html#Assign
<mvt:item name="ry_toolbelt" param="assign|g.name|'fieldname'" />
<mvt:item name="ry_toolbelt" param="assign|g.varname|'l.all_settings:mydata:' $ g.name" />
<mvt:item name="ry_toolbelt" param="assign|{ g.varname }|'PCInet' $ '.com'" />
output: &mvt:mydata:fieldname;
以上是关于html Miva联想阵列的主要内容,如果未能解决你的问题,请参考以下文章
xml 随机化阵列 - miva
联想潮5000设置磁盘阵列
联想System X 3650M5务器装机配置磁盘阵列
联想 DM5000H混合闪存阵列助力汽车街优化数据管理
联想服务器RD530怎样做RAID和装系统
html miva_array_search.html