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 Virtual Dedicated Server @apps4rent.com Best UK Web Hosting @webhost.uk.net Reliable UK and US Web Hosting @rshosting.com Cheap US and UK Web Hosting @infrenion.com I.T Certification Exams @pass-guaranteed.com Web Development Company @phpwebdevelopmentcompany.com Magento Development @magentodevelopmentindia.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!
プラグインファイルとその関数が Smarty によって認識されるためには特有の命名規約に従わなければなりません。
プラグインファイル は次のように指定します。
type.name.php
type は次のプラグインタイプのうちのいずれか1つです。
name には英数字とアンダースコアのみ使用できます。 PHP の変数 を参照してください。
例: function.html_select_date.php、 resource.db.php、 modifier.spacify.php。
PHP ファイル内で定義する プラグイン関数 は次のように指定します。
smarty_type_name()
type および name の意味は前述したものと同じです。
たとえば foo という名前の修飾子の場合は、 function smarty_modifier_foo() となります。
必要なプラグインファイルが見当たらないか、 ファイル名又はプラグイン関数名が不正な場合 Smarty は適切なエラーメッセージを出力します。