Smarty 変数をダンプする

echo nl2br(htmlspecialchars(var_export($this->get_template_vars(), TRUE)));

テンプレート内でSmarty変数をPHPに渡す方法は
上記を参考に
$hoge = $this->get_template_vars(変数名);

コメントを残す