1
表達式引擎功能parse_variables
不解析對變量。 PHP代碼parse_variables不解析對變量
myd($tagdata);
myd($replace_array);
return $this->EE->TMPL->parse_variables($tagdata, array($replace_array));
輸出
{faq_row} {faqtitle}
{faqbody} {faq_row}
Array
(
[faq_row] => Array
(
[0] => Array
(
[faqtitle] => lkjlkjklj
[faqbody] => lkjlkjlkjklj
)
)
)
{faq_row} {faqtitle}
{faqbody} {faq_row}