靈動標簽、索引靈動標簽、ecmsinfo萬能標簽:均新增數(shù)組參數(shù)型方式調(diào)用標簽e:loopr、e:indexloopr、sys_EcmsBqr_ecmsinfo,更直觀: 1、靈動標簽:新增數(shù)組參數(shù)型方式調(diào)用標簽(e:loopr)。
<?php $ebq_r=Array( 'ecms'=>'操作類型', 'edoid'=>'調(diào)用ID', 'eline'=>'顯示條數(shù)', 'eispic'=>'只調(diào)用標題圖片信息', 'ewhere'=>'附加SQL條件', 'eorder'=>'顯示排序' ); ?> [e:loopr={$ebq_r}] 模板代碼內(nèi)容 [/e:loopr] |
(本標簽參數(shù)同靈動標簽[e:loop],唯一區(qū)別是將標簽參數(shù)放到數(shù)組里。)
2、索引靈動標簽:新增數(shù)組參數(shù)型方式調(diào)用標簽(e:indexloopr)。
<?php $ebq_r=Array( 'ecms'=>'操作類型', 'edoid'=>'調(diào)用ID', 'eline'=>'顯示條數(shù)', 'eclassid'=>'欄目ID', 'emid'=>'系統(tǒng)模型ID', 'ewhere'=>'附加SQL條件' ); ?> [e:indexloopr={$ebq_r}] 模板代碼內(nèi)容 [/e:indexloopr] |
(本標簽參數(shù)同索引靈動標簽[e:indexloop],唯一區(qū)別是將標簽參數(shù)放到數(shù)組里。)
3、ecmsinfo萬能標簽:新增數(shù)組參數(shù)型方式調(diào)用。
<?php $ebq_r=Array( 'ecms'=>'操作類型', 'edoid'=>'調(diào)用ID', 'eline'=>'顯示條數(shù)', 'eispic'=>'只調(diào)用標題圖片信息', 'etempid'=>'標簽?zāi)0錓D', 'elen'=>'標題截取字數(shù)', 'eshowclass'=>'是否顯示欄目名', 'ewhere'=>'附加SQL條件', 'eorder'=>'顯示排序' ); sys_EcmsBqr_ecmsinfo($ebq_r); ?> |
(本標簽參數(shù)同萬能標簽[ecmsinfo],唯一區(qū)別是將標簽參數(shù)放到數(shù)組里。)
4、后臺可設(shè)置是否開啟數(shù)組參數(shù)型靈動標簽和索引靈動標簽調(diào)用標簽。
5、自動生成標簽新增“ecmsinfo萬能標簽調(diào)用-數(shù)組參數(shù)型”生成。
6、自動生成標簽新增“靈動標簽-數(shù)組參數(shù)型 (e:loopr)”生成。
7、自動生成標簽新增“索引靈動標簽-數(shù)組參數(shù)型 (e:indexloopr)”生成。
8、后臺標簽語法新增數(shù)組參數(shù)型萬能標簽、靈動標簽、索引靈動標簽語法說明。
9、新增標簽數(shù)組變量$ebq_r初始值定義。

|
|
|
|