Download! Contributed Code
Is Smarty right for me? Why use it? Crash Course Preface from docs Summary from docs Testimonials
Quick Install Documentation Sample Application Discussion Forums Internet Relay Chat Mailing Lists Smarty Wiki FAQ (from wiki) Other Resources
Guru-host.eu AOE media TYPO3 Cheap Hosting @HostsVault Redcoon Mobile Broadband @top10 cheap web hosting @HostDone email marketing software @ActiveCampaign broadband deals @BroadbandGenie email marketing software @OmnistarMailer broadband providers @suppliers.co.uk Web Development India @neswebdesign.com Web Design @turbonacho.com Broadband Deals @broadbandchoices.co.uk SIM Only Deals @simonlycontractdeals.co.uk Free Web Hosting @freevirtualservers.com Health Insurance @privatehealthservice.co.uk FeedSpew.com
www.php.net www.phpinsider.com
Vote for Smarty!
Feel free to put in your rating or review of Smarty at HotScripts.com
Smarty Icon
You may only use the Smarty logo according to the trademark notice
Tell us about it!
Got some news for the front page? New articles, weblog discussions, public talks, etc? Let us know!
テンプレートに埋め込まれた PHP コードの扱いを設定します。 これには4つの設定があり、デフォルトは SMARTY_PHP_PASSTHRU です。 テンプレート内の {php}{/php} タグで囲まれたPHPコードには影響を及ぼさない事に注意して下さい。
SMARTY_PHP_PASSTHRU - PHPコードを実行せずにそのまま出力します。
SMARTY_PHP_QUOTE - PHPコードをHTMLエンティティとして表示します。
SMARTY_PHP_REMOVE - PHPコードをテンプレートから除去します。
SMARTY_PHP_ALLOW - PHPコードを実行します。
注意: テンプレート内にPHPコードを埋め込む事は、とにかく避けるべきです。 代わりに、 カスタム関数 または 修飾子 を使用します。