問題タブ [smarty-plugins]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
smarty3 - エラーなしでオブジェクトを smarty に追加する方法: 未定義の拡張クラス 'Smarty_Internal_Method_Register_Object'
composer を使用してプロジェクトに Smarty 3.1.33 を追加しました。基本的な機能は問題なく動作しますが、今度は Smarty にオブジェクトを追加したいと思います。このために、私はドキュメントに従い、次のコードを持っています:
ドキュメントによると非常に基本的ですが、結果は次のとおりです。
これについてウェブ上で何も見つけることができないので、この問題に遭遇したのは私だけですか? Smarty のデバッグを開始する必要がないように、誰かが私を助けてくれることを願っています。
ありがとう!